diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-11-14 02:48:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-14 20:22:30 +0300 |
commit | 944d1444d53f5a213457e5096db370cfd06923d4 (patch) | |
tree | 3fcded51bd23c96fa0499124b8079dee6ef15be1 /mm/filemap.c | |
parent | 8d4c3e76e3be11a64df95ddee52e99092d42fc19 (diff) | |
download | linux-944d1444d53f5a213457e5096db370cfd06923d4.tar.xz |
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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions