From: Florian Weimer Subject: Re: Feature request: e2fsck -z Date: Wed, 10 Aug 2011 11:04:42 +0000 Message-ID: <82fwl9a5o5.fsf@mid.bfk.de> References: <4E4173D4.9010104@zytor.com> <4E422686.8080207@gmail.com> <4420E0D8-5E16-4FD0-A7A9-B462F02D742D@dilger.ca> <4E423FD0.40108@gmail.com> <82k4ala62o.fsf@mid.bfk.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Ric Wheeler , Andreas Dilger , "H. Peter Anvin" , linux-ext4@vger.kernel.org To: Lukas Czerner Return-path: Received: from mx01.bfk.de ([193.227.124.2]:56085 "EHLO mx01.bfk.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752730Ab1HJLEr convert rfc822-to-8bit (ORCPT ); Wed, 10 Aug 2011 07:04:47 -0400 In-Reply-To: (Lukas Czerner's message of "Wed, 10 Aug 2011 13:01:10 +0200 (CEST)") Sender: linux-ext4-owner@vger.kernel.org List-ID: * Lukas Czerner: > On Wed, 10 Aug 2011, Florian Weimer wrote: > >> * Lukas Czerner: >>=20 >> > You're right. It is a part of e2fsck and you can enable it with -E >> > discard. >>=20 >> 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. I= f > the device does not support discard it will to nothing. Oh, then it doesn't address hpa's use case (improving compression). --=20 =46lorian Weimer BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstra=DFe 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html