[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100610081950.GA15888@infradead.org>
Date: Thu, 10 Jun 2010 04:19:50 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Adrian Hunter <adrian.hunter@...ia.com>
Cc: Jens Axboe <axboe@...nel.dk>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@...radead.org>
Subject: Re: [PATCH 1/4] block: Allow drivers to implement BLKDISCARD and add
BLKSECDISCARD
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists