public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Michael Monnerie <michael.monnerie@is.it-management.at>
Cc: xfs@oss.sgi.com
Subject: Re: TRIM on XFS
Date: Sat, 8 Oct 2011 10:34:50 +1100	[thread overview]
Message-ID: <20111007233450.GK3159@dastard> (raw)
In-Reply-To: <201110071352.20135@zmi.at>

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@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2011-10-07 23:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07 11:52 TRIM on XFS Michael Monnerie
2011-10-07 23:34 ` Dave Chinner [this message]
2011-10-10  6:29   ` Michael Monnerie
2011-10-10 20:28     ` Greg Freemyer
2011-10-10 22:04       ` Jeffrey Hundstad
2011-10-10 23:52         ` Greg Freemyer
2011-10-11  2:05         ` Dave Chinner
2011-10-11 16:06           ` Jeffrey Hundstad
2011-10-11 22:25             ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111007233450.GK3159@dastard \
    --to=david@fromorbit.com \
    --cc=michael.monnerie@is.it-management.at \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox