commit | 944d1444d53f5a213457e5096db370cfd06923d4 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Nov 13 16:48:44 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Nov 14 10:22:30 2020 -0700 |
tree | 3fcded51bd23c96fa0499124b8079dee6ef15be1 | |
parent | 8d4c3e76e3be11a64df95ddee52e99092d42fc19 [diff] |
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: Jens Axboe <axboe@kernel.dk>