Jeff Moyer aec6b960a1 Revert "io_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common()"
JIRA: https://issues.redhat.com/browse/RHEL-105612

commit 927069c4ac2cd1a37efa468596fb5b8f86db9df0
Author: Jens Axboe <axboe@kernel.dk>
Date:   Mon Oct 13 12:05:31 2025 -0600

    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>

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
2025-10-27 13:33:13 -04:00
2025-10-03 14:30:15 -04:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
S
Description
No description provided
Readme
2.8 GiB
Languages
C 97.6%
Assembly 1%
Shell 0.5%
Python 0.3%
Makefile 0.3%
Other 0.1%