On 2/25/21 6:02 AM, Pavel Begunkov wrote: > Issuing a request for IO poll and doing actual IO polling might be done > from different syscalls, so userspace's iovec used during submission may > already be gone by the moment of reaping the request and doing reissue > with prep inside is not always safe. > > Fail IO poll reissue with -EAGAIN for requests that would need to read > iovec from the userspace. The userspace have to check for it, so it's > fine. That looks fine, we can't be off the submit path at that point, so should get -EAGAIN if we don't have the state we need. -- Jens Axboe