OSDN Git Service

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)
commit5581a5ddfe8d0ede1749bae1f7662fa739f83813
tree95afb2723a75b3b2cf46b21993ac026ce5cf0c82
parent68497092bde9f53e35cafeb52fa9a267ebe0d9b1
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