[PATCH V2 0/2] nvme: optimize passthrough IOPOLL completion for local ring context

Jens Axboe axboe at kernel.dk
Mon Jan 19 07:19:13 PST 2026


On 1/16/26 12:46 AM, Ming Lei wrote:
> Hello,
> 
> The 1st patch passes `struct io_comp_batch *` to rq_end_io_fn callback.
> 
> The 2nd patch completes IOPOLL uring_cmd inline in case of local ring
> context, and improves IOPS by ~10%.
> 
> 
> V2:
> 	- pass `struct io_comp_batch *` to ->end_io() directly via
> 	  blk_mq_end_request_batch().

This is a much better approach indeed. Looks good to me.

-- 
Jens Axboe




More information about the Linux-nvme mailing list