public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Adrian Hunter <adrian.hunter@nokia.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	Andrew Morton <akpm@linux-foundation.org>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH 1/4] block: Allow drivers to implement BLKDISCARD and add BLKSECDISCARD
Date: Thu, 10 Jun 2010 04:19:50 -0400	[thread overview]
Message-ID: <20100610081950.GA15888@infradead.org> (raw)
In-Reply-To: <4C081AEC.7010302@nokia.com>

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.


  parent reply	other threads:[~2010-06-10  8:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03 21:13 [PATCH 1/4] block: Allow drivers to implement BLKDISCARD and add BLKSECDISCARD Adrian Hunter
2010-06-10  6:58 ` Adrian Hunter
2010-06-10  8:19 ` Christoph Hellwig [this message]
2010-06-11  7:52   ` Kyungmin Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100610081950.GA15888@infradead.org \
    --to=hch@infradead.org \
    --cc=adrian.hunter@nokia.com \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox