block: stack unplug
authorShaohua Li <shli@kernel.org>
Tue, 31 Jul 2012 07:08:15 +0000 (09:08 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Jul 2012 07:08:15 +0000 (09:08 +0200)
commit2a7d5559b346574057dce4672d1ed9aaa9d1e685
tree55d611455d1ca07ed03b35a114350801c7865022
parent9cbb17508808f8a6bdd83354b61e126ac4fa6fed
block: stack unplug

MD raid1 prepares to dispatch request in unplug callback. If make_request in
low level queue also uses unplug callback to dispatch request, the low level
queue's unplug callback will not be called. Recheck the callback list helps
this case.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c