> Cc: glorious...@gmail.com; linux-ker...@vger.kernel.org; ne...@suse.de;
> ax...@kernel.dk; stable@vger.kernel.org; a...@linux-foundation.org
> Subject: Re: [PATCH 1/2] block: Move general unplug callback function
> from md/raid to blk-core
>
> 2012/6/5 :
> > If you ever tried to
2012/6/5 :
> If you ever tried to implement unplug function in umem, you would find the
> code was almost identical as in dm/raid driver.
> For other components which also need such unplug mechanism, it will much more
> convenient to have such facilities.
It's just several lines of code and your
rnel.org; Andrew Morton
> Subject: Re: [PATCH 1/2] block: Move general unplug callback function
> from md/raid to blk-core
>
> On Mon, Jun 04, 2012 at 10:41:50AM -0400, Tao Guo wrote:
> > Other components may also require an unplug callback, so move this
> > function fro
On Mon, Jun 04, 2012 at 10:41:50AM -0400, Tao Guo wrote:
> Other components may also require an unplug callback, so move this
> function from md/raid to block generic layer.
I saw no point this should be generic code, for example, why blk_plug_cb only
handles only one request_queue? If umem needs
Other components may also require an unplug callback, so move this
function from md/raid to block generic layer.
Signed-off-by: Tao Guo
Cc: Neil Brown
Cc: Jens Axboe
Cc:
Cc: Andrew Morton
Cc:
---
block/blk-core.c | 36 -
block/blk-settings.c |1