linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Pipe FMODE_NOWAIT support
@ 2023-05-06 10:33 Jens Axboe
  2023-05-06 15:27 ` Linus Torvalds
  2023-05-06 15:46 ` pr-tracker-bot
  0 siblings, 2 replies; 6+ messages in thread
From: Jens Axboe @ 2023-05-06 10:33 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-fsdevel@vger.kernel.org, LKML

Hi Linus,

Here's the revised edition of the FMODE_NOWAIT support for pipes, in
which we just flag it as such supporting FMODE_NOWAIT unconditionally,
but clear it if we ever end up using splice/vmsplice on the pipe. The
pipe read/write side is perfectly fine for nonblocking IO, however
splice and vmsplice can potentially wait for IO with the pipe lock held.

Please pull!


The following changes since commit 457391b0380335d5e9a5babdec90ac53928b23b4:

  Linux 6.3 (2023-04-23 12:02:52 -0700)

are available in the Git repository at:

  git://git.kernel.dk/linux.git tags/pipe-nonblock-2023-05-06

for you to fetch changes up to afed6271f5b0d78ca1a3739c1da4aa3629b26bba:

  pipe: set FMODE_NOWAIT on pipes (2023-04-25 14:08:59 -0600)

----------------------------------------------------------------
pipe-nonblock-2023-05-06

----------------------------------------------------------------
Jens Axboe (2):
      splice: clear FMODE_NOWAIT on file if splice/vmsplice is used
      pipe: set FMODE_NOWAIT on pipes

 fs/pipe.c   |  3 +++
 fs/splice.c | 34 ++++++++++++++++++++++++++++++----
 2 files changed, 33 insertions(+), 4 deletions(-)

-- 
Jens Axboe


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

end of thread, other threads:[~2023-05-07 10:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06 10:33 [GIT PULL] Pipe FMODE_NOWAIT support Jens Axboe
2023-05-06 15:27 ` Linus Torvalds
2023-05-06 22:28   ` Jens Axboe
2023-05-07  0:55     ` Linus Torvalds
2023-05-07 10:01       ` Harald Arnesen
2023-05-06 15:46 ` 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;
as well as URLs for NNTP newsgroup(s).