mbox series

[0/5] NFS: Re-probe server capabilities on remount

Message ID 20211014175508.197313-1-Anna.Schumaker@Netapp.com (mailing list archive)
Headers show
Series NFS: Re-probe server capabilities on remount | expand

Message

Anna Schumaker Oct. 14, 2021, 5:55 p.m. UTC
From: Anna Schumaker <Anna.Schumaker@Netapp.com>

These patches hook into the nfs_reconfigure() function to reset and
reprobe a server's capabilities when remounted. This could be useful if
a server is upgraded to support a new NFS v4.2 feature or if it has
other changes that can only be detected at mount-time.

Thoughts?
Anna

Anna Schumaker (5):
  NFS: Create an nfs4_server_set_init_caps() function
  NFS: Move nfs_probe_destination() into the generic client
  NFS: Replace calls to nfs_probe_fsinfo() with nfs_probe_server()
  NFS: Call nfs_probe_server() during a fscontext-reconfigure event
  NFS: Unexport nfs_probe_fsinfo()

 fs/nfs/client.c     | 37 ++++++++++++++++++--------
 fs/nfs/internal.h   |  3 ++-
 fs/nfs/nfs4client.c | 65 ++++++++++++++-------------------------------
 fs/nfs/nfs4proc.c   |  2 ++
 fs/nfs/super.c      |  7 ++++-
 5 files changed, 56 insertions(+), 58 deletions(-)