]> git.baikalelectronics.ru Git - kernel.git/commit
block: fix issue with calling blk_stop_queue() from the request_fn handler
authorJens Axboe <jaxboe@fusionio.com>
Fri, 25 Mar 2011 15:58:59 +0000 (16:58 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 25 Mar 2011 16:04:08 +0000 (17:04 +0100)
commit73fab6ab76ec19c10da65fa547a0a792968b381d
tree33b0eded3b689020529cf8c0d4febf956ff10140
parent0fd6c1f0cb0003ad46e9f5cbbe5644242cd22a33
block: fix issue with calling blk_stop_queue() from the request_fn handler

When the queue work handler was converted to delayed work, the
stopping was inadvertently made sync as well. Change this back
to being async stop, using __cancel_delayed_work() instead of
cancel_delayed_work().

Reported-by: Jeremy Fitzhardinge <jeremy@goop.org>
Reported-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c