mbox series

[0/2] Optionally default to cached info when server is down

Message ID 20200106203937.785805-1-trond.myklebust@hammerspace.com (mailing list archive)
Headers show
Series Optionally default to cached info when server is down | expand

Message

Trond Myklebust Jan. 6, 2020, 8:39 p.m. UTC
Add a mount option that allows the NFS client to default to using
cached information (attributes, permissions, data, etc) if the NFS
server is down.

Trond Myklebust (2):
  NFS: Trust cached access if we've already revalidated the inode once
  NFS: Add mount option 'softreval'

 fs/nfs/dir.c              |  4 ++--
 fs/nfs/inode.c            |  8 +++++++-
 fs/nfs/nfs3proc.c         |  7 ++++++-
 fs/nfs/nfs4proc.c         | 33 ++++++++++++++++++++++++++-------
 fs/nfs/proc.c             |  7 ++++++-
 fs/nfs/super.c            | 16 ++++++++++++++--
 include/linux/nfs_fs_sb.h |  1 +
 7 files changed, 62 insertions(+), 14 deletions(-)