xfs
[Top] [All Lists]

Re: TRIM on XFS

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Subject: Re: TRIM on XFS
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Sat, 8 Oct 2011 10:34:50 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <201110071352.20135@xxxxxx>
References: <201110071352.20135@xxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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

and 

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....

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>