]> git.karo-electronics.de Git - karo-tx-linux.git/commit
blk: centralize non-request unplug handling.
authorNeilBrown <neilb@suse.de>
Thu, 19 Jul 2012 10:49:52 +0000 (20:49 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 19 Jul 2012 10:49:52 +0000 (20:49 +1000)
commit870d9ff5db4988e7d4616a86cc2a8a84f7adb0e6
tree264830be3dd94bf2264f63ccb446ba47068be352
parent718ed0236c77f693939574d80a4010b5a3f6bbd8
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>
block/blk-core.c
drivers/block/umem.c
drivers/md/md.c
drivers/md/md.h
include/linux/blkdev.h