Re: [PATCH v2 6/6] scsi: bsg: release io_uring requests in end-I/O
From: Yang Xiuwei
Date: Mon Oct 26 2026 - 05:44:38 EST
Hi Yingjie,
On Mon, 26 Oct 2026, Yingjie Wang wrote:
> + pdu->sense_buffer = kmalloc(pdu->max_response_len,
> + gfp_mask | __GFP_ACCOUNT);
Tested in a VM: INQUIRY batch latency went from 30us to 42us with this
allocation.
The long tag hold is IORING_SETUP_DEFER_TASKRUN. Returning -EOPNOTSUPP
for that flag seems like a compromise. I'd like to hear what others
think.
Thanks,
Yang Xiuwei