>>>>> "Andreas" == Andreas Dilger <adilger.kernel@xxxxxxxxx> 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html