aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-06-01 10:00:27 -0600
committerJens Axboe <axboe@kernel.dk>2020-06-21 20:44:25 -0600
commit4503b7676a2e0abe69c2f2c0d8b03aec53f2f048 (patch)
tree1d2e009bdf3fc22219108545dd5c0e8022bf19db /mm/filemap.c
parentac8691c415e0ce0b8734cb6d9df2df18608eebed (diff)
downloadkernel_replicant_linux-4503b7676a2e0abe69c2f2c0d8b03aec53f2f048.tar.gz
kernel_replicant_linux-4503b7676a2e0abe69c2f2c0d8b03aec53f2f048.tar.bz2
kernel_replicant_linux-4503b7676a2e0abe69c2f2c0d8b03aec53f2f048.zip
io_uring: catch -EIO from buffered issue request failure
-EIO bubbles up like -EAGAIN if we fail to allocate a request at the lower level. Play it safe and treat it like -EAGAIN in terms of sync retry, to avoid passing back an errant -EIO. Catch some of these early for block based file, as non-mq devices generally do not support NOWAIT. That saves us some overhead by not first trying, then retrying from async context. We can go straight to async punt instead. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions