Re: [RFC][PATCH] mmc: add an ioctl for erasing

From: Christoph Hellwig
Date: Mon May 31 2010 - 04:47:16 EST


On Mon, May 31, 2010 at 11:45:37AM +0300, Adrian Hunter wrote:
> Sorry for the slow reply, I have been away.
>
> Connecting erase to discard was rejected for performance reasons in 2008.
> Refer:
>
> http://thread.gmane.org/gmane.linux.file-systems/25378/focus=25606

The discard implementation changed a lot since those days. Discard
requests now have their own request size limitation which is separate
form that for normal requests, and we also store the alignment
requirement for them separately.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/