Skip to content

netfs, afs, cifs: Miscellaneous fixes/changes

David Howells ceph-devel linux-cifs linux-erofs linux-fsdevel linux-mm linux-nfs lkml netfs v9fs 1 version Applied

Status from this message: Applied to the vfs.fixes branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8netfs: Fix mtime/ctime update for mmapped writesfs/netfs/buffered_write.c+1 -01 reply
2/8netfs: Drop the was_async arg from netfs_read_subreq_terminated()fs/9p/vfs_addr.c fs/afs/file.c fs/afs/fsclient.c +14 more+101 -1070 replies
3/8afs: Fix missing wire-up of afs_retry_request()fs/afs/file.c+1 -00 replies
4/8afs: Remove unused struct and function prototypefs/afs/afs_vl.h+0 -91 reply
5/8afs: Fix possible infinite loop with unresponsive serversfs/afs/fs_probe.c fs/afs/rotate.c+10 -51 reply
6/8afs: Fix the setting of the server responding flagfs/afs/fs_operation.c+1 -11 reply
7/8cifs: Fix reversion of the iter in cifs_readv_receive().fs/smb/client/connect.c fs/smb/client/smb2ops.c fs/smb/client/transport.c+7 -110 replies
8/8cifs: Make the write_{enter,done,err} tracepoints display netfs infofs/smb/client/smb2pdu.c fs/smb/client/trace.h+18 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)