]> git.baikalelectronics.ru Git - kernel.git/commit
block: add completion handler for fast path
authorJens Axboe <axboe@kernel.dk>
Wed, 1 Dec 2021 22:01:51 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 15:42:06 +0000 (08:42 -0700)
commitbb403f90be9dfc26fc938d84b99fa08bf0536356
tree95afb2723a75b3b2cf46b21993ac026ce5cf0c82
parentfc56fe3e3be825175052058f72e68c96064887ef
block: add completion handler for fast path

The batched completions only deal with non-partial requests anyway,
and it doesn't deal with any requests that have errors. Add a completion
handler that assumes it's a full request and that it's all being ended
successfully.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c