]> git.baikalelectronics.ru Git - kernel.git/commit
block: Fix blk_start_queueing() to not kick a stopped queue
authorElias Oltmanns <eo@nebensachen.de>
Wed, 1 Oct 2008 14:02:33 +0000 (16:02 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:20 +0000 (08:56 +0200)
commitce20cd02d62f9c1b39834f56e4adfc9669d034fe
tree91841449cf24ee051ff1daefcb60a8fbefe2522a
parent5db150b3318dccdc5ef440bd84d4eb57693b0b4a
block: Fix blk_start_queueing() to not kick a stopped queue

blk_start_queueing() should act like the generic queue unplugging
and kicking and ignore a stopped queue. Such a queue may not be
run until after a call to blk_start_queue().

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c