[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110509143027.GA29635@infradead.org>
Date: Mon, 9 May 2011 10:30:27 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Lukas Czerner <lczerner@...hat.com>
Cc: Jens Axboe <jaxboe@...ionio.com>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Dmitry Monakhov <dmonakhov@...nvz.org>,
Jeff Moyer <jmoyer@...hat.com>
Subject: Re: [PATCH 1/3] blkdev: Submit discard bio in batches in
blkdev_issue_discard()
On Thu, May 05, 2011 at 05:20:40PM +0200, Lukas Czerner wrote:
> > Good results. It'd be more efficient to add the vectored discard support
> > and use it for this too though, and it would get rid of the need to wait
> > on the batches since there'd be just one discard bio for the ranges.
> >
>
> Since we do not have vectored discard yet, can this change go in as it
> is ? Also, Christoph thinks that it would not help anyway since the we do
> batch the discard requests only when it exceeds the max range.
I think this patch is orthogonal to vectored discard. The batching
is important for large ranges which generally come from BLKDISCARD or
FITRIM, while vectored discard is mostly interesting for lots of small
discards at transaction commit time.
--
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