[Top] [All Lists]

Re: xfs: add FITRIM support

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Subject: Re: xfs: add FITRIM support
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 6 Jan 2011 13:10:15 -0500
Cc: xfs@xxxxxxxxxxx, Dave Chinner <david@xxxxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, Lukas Czerner <lczerner@xxxxxxxxxx>
In-reply-to: <201101061750.43556@xxxxxx>
References: <20101125112304.GA4195@xxxxxxxxxxxxx> <201101060910.34534@xxxxxx> <20110106091707.GH8322@dastard> <201101061750.43556@xxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Jan 06, 2011 at 05:50:42PM +0100, Michael Monnerie wrote:
> On Donnerstag, 6. Januar 2011 Dave Chinner wrote:
> > Realistically, we have
> > to design for how we expect devices to behave in 2-3 years time, not
> > waste time trying to optimise for fundamentally broken devices that
> > nobody will be using in 2-3 years time...
> I see, thanks for the explanation. I hope that there will be a solution 
> that allows us to FITRIM on Saturday "in the background", so the thin 
> provisioned VMs are smaller and faster to back up. That's my immediate 
> wish, as we currently don't use SSDs.

That's what you can do with my FITRIM patches.  Right now the only
discard support known to me is my impementation that requires XFS as
backing store for the images.  And a hole punch of an existing hole
is very cheap in XFS, so trimming things multiple times is not an issue.

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