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)
commit1885b24d23716e09b9c952822b05fd7f68099cdb
tree13cfd695ad4548766095cfff8afee07bba49b5a1
parentc68ed59f534c318716c6189050af3c5ea03b8071
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