Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'io_uring-6.12-20241019' of git://git.kernel.dk/linux

Pull one more io_uring fix from Jens Axboe:
"Fix for a regression introduced in 6.12-rc2, where a condition check
was negated and hence -EAGAIN would bubble back up up to userspace
rather than trigger a retry condition"

* tag 'io_uring-6.12-20241019' of git://git.kernel.dk/linux:
io_uring/rw: fix wrong NOWAIT check in io_rw_init_file()

+1 -1
+1 -1
io_uring/rw.c
··· 807 807 * reliably. If not, or it IOCB_NOWAIT is set, don't retry. 808 808 */ 809 809 if (kiocb->ki_flags & IOCB_NOWAIT || 810 - ((file->f_flags & O_NONBLOCK && (req->flags & REQ_F_SUPPORT_NOWAIT)))) 810 + ((file->f_flags & O_NONBLOCK && !(req->flags & REQ_F_SUPPORT_NOWAIT)))) 811 811 req->flags |= REQ_F_NOWAIT; 812 812 813 813 if (ctx->flags & IORING_SETUP_IOPOLL) {