]> 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)
commit8cfc1c8b06034743df3a273e5619c57b65eb4ca0
tree13cfd695ad4548766095cfff8afee07bba49b5a1
parent14a82c2f2f81a04d72e0104dfe9cf30a71f9a406
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