Skip to contentSkip to conversation

vfs fixes

GIT PULL Merged Christian Brauner 2 participants 2 messages Jan 10, 2025 VFS

lore
Share & tools
lore

Christian Brauner

author maintainer
#0 lore raw

Hey Linus,

/* Summary */

The following fixes are contained in this pull request:

afs:

- Fix the maximum cell name length.

- Fix merge preference rule failure condition.

fuse:

- Fix fuse_get_user_pages() so it doesn't risk misleading the caller to think pages have been allocated when they actually haven't.

- Fix direct-io folio offset and length calculation.

netfs:

- Fix async direct-io handling.

- Fix read-retry for filesystems that don't provide a ->prepare_read() method.

vfs:

- Prevent truncating 64-bit offsets to 32-bits in iomap.

- Fix memory barrier interactions when polling.

- Remove MNT_ONRB to fix concurrent modification of @mnt->mnt_flags leading to MNT_ONRB to not be raised and invalid access to a list member. See commit message for details.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit fbfd64d25c7af3b8695201ebc85efe90be28c5a3:

Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs (2025-01-06 10:26:39 -0800)

are available in the Git repository at:

[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.13-rc7.fixes.2

for you to fetch changes up to 1623bc27a85a93e82194c8d077eccc464efa67db:

Merge branch 'vfs-6.14.poll' into vfs.fixes (2025-01-10 12:01:21 +0100)

Please consider pulling these changes from the signed vfs-6.13-rc7.fixes.2 tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.13-rc7.fixes.2

----------------------------------------------------------------
Bernd Schubert (1):
fuse: Set *nbytesp=0 in fuse_get_user_pages on allocation failure

Christian Brauner (5):
Merge tag 'fuse-fixes-6.13-rc7' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
fs: kill MNT_ONRB
Merge tag 'vfs-6.14-rc7.mount.fixes'
Merge patch series "poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()" Merge branch 'vfs-6.14.poll' into vfs.fixes

David Howells (3):
afs: Fix the maximum cell name length
netfs: Fix kernel async DIO
netfs: Fix read-retry for fs with no ->prepare_read()

Joanne Koong (1):
fuse: fix direct io folio offset and length calculation

Lizhi Xu (1):
afs: Fix merge preference rule failure condition

Marco Nelissen (1):
iomap: avoid avoid truncating 64-bit offset to 32 bits

Oleg Nesterov (5):
poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
poll_wait: kill the obsolete wait_address check
io_uring_poll: kill the no longer necessary barrier after poll_wait()
sock_poll_wait: kill the no longer necessary barrier after poll_wait()
poll: kill poll_does_not_wait()

 fs/afs/addr_prefs.c     |  6 ++++--
 fs/afs/afs.h            |  2 +-
 fs/afs/afs_vl.h         |  1 +
 fs/afs/vl_alias.c       |  8 ++++++--
 fs/afs/vlclient.c       |  2 +-
 fs/fuse/file.c          | 31 +++++++++++++++++++------------
 fs/iomap/buffered-io.c  |  2 +-
 fs/mount.h              | 15 +++++++++------
 fs/namespace.c          | 14 ++++++--------
 fs/netfs/direct_write.c |  7 ++++++-
 fs/netfs/read_retry.c   |  3 ++-
 include/linux/mount.h   |  3 +--
 include/linux/poll.h    | 26 ++++++++++++--------------
 include/net/sock.h      | 17 +++++++----------
 io_uring/io_uring.c     |  9 ++++-----
 15 files changed, 80 insertions(+), 66 deletions(-)