]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Let drivers cancel requeue_work
authorKeith Busch <keith.busch@intel.com>
Thu, 8 Jan 2015 01:55:44 +0000 (18:55 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Jan 2015 15:55:40 +0000 (08:55 -0700)
commit015ae06e665c8e26bb1937965121bc7e18a70ad1
tree6c37d638773c80c2f45b9ecb88d9e2ca60c210ba
parent10e0498c013491f2d9716d11e14dca4db1de1668
blk-mq: Let drivers cancel requeue_work

Kicking requeued requests will start h/w queues in a work_queue, which
may alter the driver's requested state to temporarily stop them. This
patch exports a method to cancel the q->requeue_work so a driver can be
assured stopped h/w queues won't be started up before it is ready.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blk-mq.h