]> git.baikalelectronics.ru Git - kernel.git/commit
block: Enhance new plugging support to support general callbacks
authorNeilBrown <neilb@suse.de>
Mon, 18 Apr 2011 07:52:22 +0000 (09:52 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 18 Apr 2011 07:52:22 +0000 (09:52 +0200)
commit7731661c489a990ba148fef38e435267063fe1cd
tree64f520a1a2d2e1a9c30b45e306ce6f901f8f8d49
parent1615ef344076fe894d3518544a96d36a609ddb4e
block: Enhance new plugging support to support general callbacks

md/raid requires an unplug callback, but as it does not uses
requests the current code cannot provide one.

So allow arbitrary callbacks to be attached to the blk_plug.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
include/linux/blkdev.h