blk: centralize non-request unplug handling.
authorNeilBrown <neilb@suse.de>
Tue, 31 Jul 2012 07:08:14 +0000 (09:08 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Jul 2012 07:08:14 +0000 (09:08 +0200)
commit9cbb17508808f8a6bdd83354b61e126ac4fa6fed
treebc797d1b5cd829751a333115e6e6d52799fb6df2
parent0021b7bc045e4b0b85d8c53614342aaf84ca96a5
blk: centralize non-request unplug handling.

Both md and umem has similar code for getting notified on an
blk_finish_plug event.
Centralize this code in block/ and allow each driver to
provide its distinctive difference.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
drivers/block/umem.c
drivers/md/md.c
drivers/md/md.h
include/linux/blkdev.h