Skip to content
Commit 944d1444 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: handle -EOPNOTSUPP on path resolution



Any attempt to do path resolution on /proc/self from an async worker will
yield -EOPNOTSUPP. We can safely do that resolution from the task itself,
and without blocking, so retry it from there.

Ideally io_uring would know this upfront and not have to go through the
worker thread to find out, but that doesn't currently seem feasible.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8d4c3e76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment