On Mon, Nov 23, 2009 at 12:02:48PM -0500, Ric Wheeler wrote: > I agree - the discard of the whole device is a good idea. > > I just want to make clear that "discard block X; write block X with > zeroed data" undoes the discard in general :-) We can skip the writing of zeroes if we know the device returns zeroed blocks after a trim. Martin's patch exports that information to userspace, and once we have a nice enough interface (e.g. blkid or an ioctl) we can actually use it in mkfs to optimize the writing of zeroes away. Raw growling in sysfs is a bit too nasty to add it to mkfs for those few blocks IMHO. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html