On Wed, 25 Jun 2025 10:25:54 +0800, Ming Lei wrote: > ublk_queue_cmd_list() dispatches the whole batch list by scheduling task > work via the tail request's io_uring_cmd, this way is fine even though > more than one io_ring_ctx are involved for this batch since it is just > one running context. > > However, the task work handler ublk_cmd_list_tw_cb() takes `issue_flags` > of tail uring_cmd's io_ring_ctx for completing all commands. This way is > wrong if any uring_cmd is issued from different io_ring_ctx. > > [...] Applied, thanks! [1/1] ublk: build batch from IOs in same io_ring_ctx and io task commit: 524346e9d79f63a6e5aaa645140da3d1ec7a8a0f Best regards, -- Jens Axboe