[GIT PULL] vfs fixes

From: Christian Brauner
Date: Mon May 27 2024 - 07:56:32 EST


Hey Linus,

/* Summary */
This contains a few small fixes for this merge window:

* Fix io_uring based write-through after converting cifs to use the netfs
library.
* Fix aio error handling when doing write-through via netfs library.
* Fix performance regression in iomap when used with non-large folio mappings.
* Fix signalfd error code.
* Remove obsolete comment in signalfd code.
* Fix async request indication in netfs_perform_write() by raising BDP_ASYNC
when IOCB_NOWAIT is set.
* Yield swap device immediately to prevent spurious EBUSY errors.
* Don't cross a .backup mountpoint from backup volumes in afs to avoid infinite
loops.
* Fix a race between umount and async request completion in 9p after 9p was
converted to use the netfs library.

/* Testing */
clang: Debian clang version 16.0.6 (27)
gcc: (Debian 13.2.0-25) 13.2.0

All patches are based on mainline. No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 8f6a15f095a63a83b096d9b29aaff4f0fbe6f6e6:

Merge tag 'cocci-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux (2024-05-20 16:00:04 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.10-rc2.fixes

for you to fetch changes up to f89ea63f1c65d3e93b255f14f9d9e05df87955fa:

netfs, 9p: Fix race between umount and async request completion (2024-05-27 13:12:13 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.10-rc2.fixes

----------------------------------------------------------------
Christian Brauner (1):
swap: yield device immediately

David Howells (4):
netfs: Fix io_uring based write-through
netfs: Fix AIO error handling when doing write-through
netfs: Fix setting of BDP_ASYNC from iocb flags
netfs, 9p: Fix race between umount and async request completion

Fedor Pchelkin (2):
signalfd: fix error return code
signalfd: drop an obsolete comment

Marc Dionne (1):
afs: Don't cross .backup mountpoint from backup volume

Xu Yang (2):
filemap: add helper mapping_max_folio_size()
iomap: fault in smaller chunks for non-large folio mappings

fs/9p/vfs_inode.c | 1 +
fs/afs/inode.c | 1 +
fs/afs/mntpt.c | 5 +++++
fs/iomap/buffered-io.c | 2 +-
fs/netfs/buffered_write.c | 2 +-
fs/netfs/direct_write.c | 2 +-
fs/netfs/objects.c | 5 +++++
fs/netfs/write_collect.c | 7 ++++---
fs/netfs/write_issue.c | 9 +++++++--
fs/signalfd.c | 6 +-----
fs/smb/client/cifsfs.c | 1 +
include/linux/netfs.h | 18 ++++++++++++++++++
include/linux/pagemap.h | 34 +++++++++++++++++++++-------------
kernel/power/swap.c | 2 +-
14 files changed, 68 insertions(+), 27 deletions(-)