On Wed, 10 Aug 2022 13:52:12 +0800, ZiyangZhang wrote: > If ublksrv sends UBLK_IO_NEED_GET_DATA with new allocated io buffer, we > have to update iod->addr in task_work before calling io_uring_cmd_done(). > Then usersapce target can handle (write)io request with the new io > buffer reading from updated iod. > > Without this change, userspace target may touch a wrong io buffer! > > [...] Applied, thanks! [1/1] ublk_drv: update iod->addr for UBLK_IO_NEED_GET_DATA commit: 92cb6e2e5dbaea02c2fa317f3543c8918db25e89 Best regards, -- Jens Axboe