[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1zku6ndrk.fsf@sermon.lab.mkp.net>
Date: Fri, 22 Oct 2010 17:01:03 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Andreas Dilger <adilger.kernel@...ger.ca>
Cc: Ric Wheeler <ricwheeler@...il.com>,
Lukas Czerner <lczerner@...hat.com>,
linux-ext4@...r.kernel.org, tytso@....edu, sandeen@...hat.com
Subject: Re: [PATCH] e2fsck: Discard free data and inode blocks.
>>>>> "Andreas" == Andreas Dilger <adilger.kernel@...ger.ca> writes:
Andreas> When this patch was first under discussion, I proposed that we
Andreas> validate that the device is actually zeroed by doing a write a
Andreas> non-zero block to the disk and then calling discard+zero for
Andreas> that region, and reading back the block and verifying it.
The problem is that the devices that get this wrong don't
deterministically return zeroes. So they may return zeroes for the
discarded test block but garbage for the stuff you actually depend on
being cleared.
--
Martin K. Petersen Oracle Linux Engineering
--
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