diff options
| author | Jens Axboe <[email protected]> | 2024-03-12 14:29:47 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-03-12 14:29:47 +0000 |
| commit | 0a3737db8479b77f95f4bfda8e71b03c697eb56a (patch) | |
| tree | e28ce74454871c42d83b2a8335293951b2902659 /scripts/bpf_doc.py | |
| parent | io_uring: don't save/restore iowait state (diff) | |
| download | kernel-0a3737db8479b77f95f4bfda8e71b03c697eb56a.tar.gz kernel-0a3737db8479b77f95f4bfda8e71b03c697eb56a.zip | |
io_uring/rw: return IOU_ISSUE_SKIP_COMPLETE for multishot retry
If read multishot is being invoked from the poll retry handler, then we
should return IOU_ISSUE_SKIP_COMPLETE rather than -EAGAIN. If not, then
a CQE will be posted with -EAGAIN rather than triggering the retry when
the file is flagged as readable again.
Cc: [email protected]
Reported-by: Sargun Dhillon <[email protected]>
Fixes: fc68fcda04910 ("io_uring/rw: add support for IORING_OP_READ_MULTISHOT")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
