public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] io_uring work-around for S_IFREG anon inodes
@ 2025-06-30 21:17 Jens Axboe
  2025-07-01  0:19 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Axboe @ 2025-06-30 21:17 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: io-uring

Hi Linus,

Sending this one out early as the patch that broke io_uring is already in
6.15.4 stable, and I'd like to get the fix included for 6.15.5.

tldr is that now that anonymous inodes set S_IFREG, this breaks the
io_uring read/write retries for short reads/writes. As things like
timerfd and eventfd are anon inodes, applications that previously did:

unsigned long event_data[2];

io_uring_prep_read(sqe, evfd, event_data, sizeof(event_data), 0);

and just got a short read when 1 event was posted, will now wait for the
full amount before posting a completion. This caused issues for the
ghostty application, making it basically unusable due to excessive
buffering.

Please pull!


The following changes since commit 178b8ff66ff827c41b4fa105e9aabb99a0b5c537:

  io_uring/kbuf: flag partial buffer mappings (2025-06-26 12:17:48 -0600)

are available in the Git repository at:

  git://git.kernel.dk/linux.git tags/io_uring-6.16-20250630

for you to fetch changes up to 6f11adcc6f36ffd8f33dbdf5f5ce073368975bc3:

  io_uring: gate REQ_F_ISREG on !S_ANON_INODE as well (2025-06-29 16:52:34 -0600)

----------------------------------------------------------------
io_uring-6.16-20250630

----------------------------------------------------------------
Jens Axboe (1):
      io_uring: gate REQ_F_ISREG on !S_ANON_INODE as well

 io_uring/io_uring.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] io_uring work-around for S_IFREG anon inodes
  2025-06-30 21:17 [GIT PULL] io_uring work-around for S_IFREG anon inodes Jens Axboe
@ 2025-07-01  0:19 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2025-07-01  0:19 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linus Torvalds, io-uring

The pull request you sent on Mon, 30 Jun 2025 15:17:54 -0600:

> git://git.kernel.dk/linux.git tags/io_uring-6.16-20250630

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/66701750d5565c574af42bef0b789ce0203e3071

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-01  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 21:17 [GIT PULL] io_uring work-around for S_IFREG anon inodes Jens Axboe
2025-07-01  0:19 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox