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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html