Skip to contentSkip to conversation

vfs rw

GIT PULL Merged Christian Brauner 2 participants 2 messages May 10, 2024 – May 13, 2024 VFS

lore
Share & tools
lore

Christian Brauner

author maintainer
#0 lore raw

Hey Linus,

/* Summary */
The core fs signalfd, userfaultfd, and timerfd subsystems did still use f_op->read() instead of f_op->read_iter(). Convert them over since we should aim to get rid of f_op->read() at some point.

Aside from that io_uring and others want to mark files as FMODE_NOWAIT so it can make use of per-IO nonblocking hints to enable more efficient IO. Converting those users to f_op->read_iter() allows them to be marked with FMODE_NOWAIT.

/* Testing */
clang: Debian clang version 16.0.6 (26)
gcc: (Debian 13.2.0-24)

All patches are based on v6.9-rc3 and have been sitting in linux-next. No build failures or warnings were observed.

/* Conflicts */

No known conflicts.

The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)

are available in the Git repository at:

[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.10.rw

for you to fetch changes up to 3a93daea2fb27fcefa85662654ba583a5d0c7231:

Merge branch 'read_iter' of git://git.kernel.dk/linux (2024-04-11 10:06:08 +0200)

Please consider pulling these changes from the signed vfs-6.10.rw tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10.rw

----------------------------------------------------------------
Al Viro (1):
new helper: copy_to_iter_full()

Christian Brauner (1):
Merge branch 'read_iter' of git://git.kernel.dk/linux

Jens Axboe (4):

      Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into read_iter
      timerfd: convert to ->read_iter()
      userfaultfd: convert to ->read_iter()
      signalfd: convert to ->read_iter()
 fs/signalfd.c       | 44 ++++++++++++++++++++++++++++----------------
 fs/timerfd.c        | 36 ++++++++++++++++++++++++++----------
 fs/userfaultfd.c    | 44 ++++++++++++++++++++++++++++----------------
 include/linux/uio.h | 10 ++++++++++
 include/net/udp.h   |  9 +--------
 5 files changed, 93 insertions(+), 50 deletions(-)