[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1108101307590.4380@dhcp-27-109.brq.redhat.com>
Date: Wed, 10 Aug 2011 13:09:47 +0200 (CEST)
From: Lukas Czerner <lczerner@...hat.com>
To: Florian Weimer <fweimer@....de>
cc: Lukas Czerner <lczerner@...hat.com>,
Ric Wheeler <ricwheeler@...il.com>,
Andreas Dilger <adilger@...mcloud.com>,
"H. Peter Anvin" <hpa@...or.com>, linux-ext4@...r.kernel.org
Subject: Re: Feature request: e2fsck -z
On Wed, 10 Aug 2011, Florian Weimer wrote:
> * Lukas Czerner:
>
> > On Wed, 10 Aug 2011, Florian Weimer wrote:
> >
> >> * Lukas Czerner:
> >>
> >> > You're right. It is a part of e2fsck and you can enable it with -E
> >> > discard.
> >>
> >> If the block device does not support TRIM, does this result in zeros
> >> being written instead?
>
> > Of course not, discard works only on devices which does support it. If
> > the device does not support discard it will to nothing.
>
> Oh, then it doesn't address hpa's use case (improving compression).
>
It does if he will use SSD's with "discard_zeroes_data" capability. But
my original answer was to simply confirm that e2fsck has that feature.
Thanks!
-Lukas
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists