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)
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>

No differences found