block: add callback function for unplug notification
authorJens Axboe <jaxboe@fusionio.com>
Tue, 12 Apr 2011 08:17:31 +0000 (10:17 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 12 Apr 2011 08:17:31 +0000 (10:17 +0200)
commitf75664570d8b75469cc468f23c2b27220984983b
tree48f1e9b8576892cab65361e39b874e0e07d3b32a
parent188112722cce083c8f1a7d0d84f55c2cd885920c
block: add callback function for unplug notification

MD would like to know when a queue is unplugged, so it can flush
it's bitmap writes. Add such a callback.

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