Merge tag 'pipe-nonblock-2023-05-06' of git://git.kernel.dk/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 May 2023 15:15:20 +0000 (08:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 May 2023 15:15:20 +0000 (08:15 -0700)
commit7644c8231987288e7aae378d2ff3c56a980d1988
tree7ac262934dd9e596b80f5f0d85282937692192b4
parent0021b532b2fdd6b82cf3ff758191f00d8edd235d
parentafed6271f5b0d78ca1a3739c1da4aa3629b26bba
Merge tag 'pipe-nonblock-2023-05-06' of git://git.kernel.dk/linux

Pull nonblocking pipe io_uring support from Jens Axboe:
 "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"

* tag 'pipe-nonblock-2023-05-06' of git://git.kernel.dk/linux:
  pipe: set FMODE_NOWAIT on pipes
  splice: clear FMODE_NOWAIT on file if splice/vmsplice is used
fs/splice.c