[PATCH V2 0/2] nvme: optimize passthrough IOPOLL completion for local ring context
Jens Axboe
axboe at kernel.dk
Mon Jan 19 07:22:09 PST 2026
On 1/19/26 8:19 AM, Jens Axboe wrote:
> 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.
Forgot to mention, Keith can you let me know if this looks good to you
too?
--
Jens Axboe
More information about the Linux-nvme
mailing list