]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita274a843036e7853f6fb390ef6fddc8ef859b0de
tree55d611455d1ca07ed03b35a114350801c7865022
parentd15e79e5b9495aa368da1dabba05e6d2cfabf9d1
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