Re: [PATCH 1/4] block: Allow drivers to implement BLKDISCARD and addBLKSECDISCARD

From: Christoph Hellwig
Date: Thu Jun 10 2010 - 04:20:29 EST

On Fri, Jun 04, 2010 at 12:13:16AM +0300, Adrian Hunter wrote:
> SD/MMC cards provide an erase operation that is too inefficient to
> allow file systems to use it, however it is still useful for
> userspace tools because it is still 10 - 100 times faster than
> writing zeroes. Allow the MMC block driver to provide its own
> BLKDISCARD implementation for this purpose.

That's no good reason. Almost all current SSD TRIM implementations
have the same issue, that's why filesustems require the -o discard
option to enabled it. In addition I've not actually seen any numbers
from you on a current kernel.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at