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