mbox series

[0/8] netfs, afs, cifs: Miscellaneous fixes/changes

Message ID 20240923150756.902363-1-dhowells@redhat.com
Headers show
Series netfs, afs, cifs: Miscellaneous fixes/changes | expand

Message

David Howells Sept. 23, 2024, 3:07 p.m. UTC
Hi Christian, Steve, Marc,

Here are some miscellaneous fixes and changes for netfslib and the afs and
cifs filesystems, some of which are already in the vfs or cifs trees, but I
thought I'd repost them all for completeness, starting with netfs:

 (1) Fix the update of mtime and ctime for mmapped files.

 (2) Drop the was_async argument from netfs_read_subreq_terminated().

then afs:

 (3) Wire up afs_retry_request() so that writeback rotates through the
     available keys.

 (4) Remove some unused defs.

 (5) Fix a potential infinite loop in the server rotation code.

 (6) Fix an oops that can occur when a server responds, but we decide the
     operation failed (e.g. an abort).

and then cifs:

 (7) Fix reversion of the I/O iterator causing cryptographically signed
     transport reception to fail.

 (8) Alter the write tracepoints to display netfs request info.

The patches can also be found here:

	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes

Thanks,
David

David Howells (6):
  netfs: Fix mtime/ctime update for mmapped writes
  netfs: Drop the was_async arg from netfs_read_subreq_terminated()
  afs: Fix missing wire-up of afs_retry_request()
  afs: Fix the setting of the server responding flag
  cifs: Fix reversion of the iter in cifs_readv_receive().
  cifs: Make the write_{enter,done,err} tracepoints display netfs info

Marc Dionne (1):
  afs: Fix possible infinite loop with unresponsive servers

Thorsten Blum (1):
  afs: Remove unused struct and function prototype

 fs/9p/vfs_addr.c          |  3 +-
 fs/afs/afs_vl.h           |  9 ----
 fs/afs/file.c             | 16 ++++---
 fs/afs/fs_operation.c     |  2 +-
 fs/afs/fs_probe.c         |  4 +-
 fs/afs/fsclient.c         |  2 +-
 fs/afs/rotate.c           | 11 +++--
 fs/afs/yfsclient.c        |  2 +-
 fs/ceph/addr.c            | 13 ++++--
 fs/netfs/buffered_read.c  | 16 +++----
 fs/netfs/buffered_write.c |  1 +
 fs/netfs/direct_read.c    |  2 +-
 fs/netfs/internal.h       |  2 +-
 fs/netfs/objects.c        | 17 ++++++-
 fs/netfs/read_collect.c   | 95 ++++++++++++++++-----------------------
 fs/netfs/read_retry.c     |  2 +-
 fs/nfs/fscache.c          |  6 ++-
 fs/nfs/fscache.h          |  3 +-
 fs/smb/client/cifssmb.c   | 10 +----
 fs/smb/client/connect.c   |  6 +--
 fs/smb/client/file.c      |  3 +-
 fs/smb/client/smb2ops.c   |  9 ++--
 fs/smb/client/smb2pdu.c   | 32 ++++++-------
 fs/smb/client/trace.h     |  6 +--
 fs/smb/client/transport.c |  3 --
 include/linux/netfs.h     |  7 ++-
 26 files changed, 139 insertions(+), 143 deletions(-)