]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Add helper to abort requeued requests
authorJens Axboe <axboe@fb.com>
Thu, 8 Jan 2015 01:55:45 +0000 (18:55 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Jan 2015 15:55:53 +0000 (08:55 -0700)
commitab257fa9b7a7885447f2e67effd433dce9078288
tree13cfd695ad4548766095cfff8afee07bba49b5a1
parent015ae06e665c8e26bb1937965121bc7e18a70ad1
blk-mq: Add helper to abort requeued requests

Adds a helper function a driver can use to abort requeued requests in
case any are pending when h/w queues are being removed.

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