]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: introduce blk_mq_request_completed()
authorMing Lei <ming.lei@redhat.com>
Wed, 24 Jul 2019 03:48:39 +0000 (11:48 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Aug 2019 03:41:29 +0000 (21:41 -0600)
commit68ad3f1526e7a55aa01772f7704c06b3bf9a8776
tree788e30753358ef836231752766f417c9540018cb
parent1b1e3f6d5a6ff25a6613c83a142ba0d73a10c16d
blk-mq: introduce blk_mq_request_completed()

NVMe needs this function to decide if one request to be aborted has
been completed in normal IO path already.

So introduce it.

Cc: Max Gurtovoy <maxg@mellanox.com>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blk-mq.h