On Fri, Oct 07, 2011 at 01:52:19PM +0200, Michael Monnerie wrote:
> It's been a long time since I've been reading about TRIM. What is the
> current state for XFS? I believe there's TRIM support, but only offline.
> Can someone explain how to activate that and actually run a TRIM?
> And there was some talk of "inline TRIM", i.e. always TRIMing on delete.
> Is that implemented already?
> We're on VMware with thin provisioned machines, and that would hugely
> benefit from TRIM.
e84661a xfs: add online discard support
a46db60 xfs: add FITRIM support
So both online and background trim methods are available. Test well
before using them in production, though, as buggy hardware or thinp
implementations are quite common....