Re: [PATCH 1/2] io_uring/rw: fix link failure on successful pipe short reads

Yang Xiuwei <[email protected]>
Newsgroups org.kernel.vger.io-uring
Message-ID <[email protected]>
On Thu, Jun 11, 2026 at 12:36:22PM -0600, Jens Axboe wrote:
> Not sure I follow - the "short read/write is an IOSQE_IO_LINK failure"
> is widely documented. So not sure I agree with this approach.

Thank you for the feedback.

Looking at the history, the IOSQE_IO_LINK short-read behaviour was
documented in 94163513 (Feb 2020), while 9a173346bd9e (Jan 2021) later 
changed __io_read() so that non-regular files no longer retry on short reads.
That issue-path change post-dates the documentation, 
and I am not sure the two were ever reconciled.

Is the documentation still the intended rule for pipes as well? If so, I
will drop this patch and treat the current completion behaviour as
correct.

Thanks,
Yang Xiuwei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.