[dm-devel] [PATCH] blk-mq: don't add non-pt request with ->end_io to batch
Jens Axboe
axboe at kernel.dk
Thu Oct 27 13:15:53 UTC 2022
On Thu, 27 Oct 2022 16:57:09 +0800, Ming Lei wrote:
> dm-rq implements ->end_io callback for request issued to underlying queue,
> and it isn't passthrough request.
>
> Commit ab3e1d3bbab9 ("block: allow end_io based requests in the completion
> batch handling") doesn't clear rq->bio and rq->__data_len for request
> with ->end_io in blk_mq_end_request_batch(), and this way is actually
> dangerous, but so far it is only for nvme passthrough request.
>
> [...]
Applied, thanks!
[1/1] blk-mq: don't add non-pt request with ->end_io to batch
(no commit info)
Best regards,
--
Jens Axboe
More information about the dm-devel
mailing list