diff options
| author | Jens Axboe <axboe@kernel.dk> | 2025-10-13 21:05:31 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-10-13 21:16:40 +0300 |
| commit | 927069c4ac2cd1a37efa468596fb5b8f86db9df0 (patch) | |
| tree | 9f468187b1c8e163c1a427c59a8911d5dcf83ddc /include/linux/overflow.h | |
| parent | 3a8660878839faadb4f1a6dd72c3179c1df56787 (diff) | |
| download | linux-927069c4ac2cd1a37efa468596fb5b8f86db9df0.tar.xz | |
Revert "io_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common()"
This reverts commit 90bfb28d5fa8127a113a140c9791ea0b40ab156a.
Kevin reports that this commit causes an issue for him with LVM
snapshots, most likely because of turning off NOWAIT support while a
snapshot is being created. This makes -EOPNOTSUPP bubble back through
the completion handler, where io_uring read/write handling should just
retry it.
Reinstate the previous check removed by the referenced commit.
Cc: stable@vger.kernel.org
Fixes: 90bfb28d5fa8 ("io_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common()")
Reported-by: Salvatore Bonaccorso <carnil@debian.org>
Reported-by: Kevin Lumik <kevin@xf.ee>
Link: https://lore.kernel.org/io-uring/cceb723c-051b-4de2-9a4c-4aa82e1619ee@kernel.dk/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
