diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-08-16 00:58:42 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-08-16 00:58:42 +0200 |
commit | f91daf565b0e272a33bd3fcd19eaebd331c5cffd (patch) | |
tree | ebb9688b7038d2ec980ab1d3bbc798b874033406 /kernel/dma | |
parent | io_uring: sanitize double poll handling (diff) | |
download | linux-f91daf565b0e272a33bd3fcd19eaebd331c5cffd.tar.xz linux-f91daf565b0e272a33bd3fcd19eaebd331c5cffd.zip |
io_uring: short circuit -EAGAIN for blocking read attempt
One case was missed in the short IO retry handling, and that's hitting
-EAGAIN on a blocking attempt read (eg from io-wq context). This is a
problem on sockets that are marked as non-blocking when created, they
don't carry any REQ_F_NOWAIT information to help us terminate them
instead of perpetually retrying.
Fixes: 227c0c9673d8 ("io_uring: internally retry short reads")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/dma')
0 files changed, 0 insertions, 0 deletions