NFS: Add softreval behaviour to nfs_lookup_revalidate()
If the server is unavaliable, we want to allow the revalidating lookup to time out, and to default to validating the cached dentry if the 'softreval' mount option is set. Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
Anna Schumaker <Anna.Schumaker@Netapp.com>
Showing
- fs/nfs/dir.c 11 additions, 4 deletionsfs/nfs/dir.c
- fs/nfs/internal.h 9 additions, 0 deletionsfs/nfs/internal.h
- fs/nfs/namespace.c 1 addition, 1 deletionfs/nfs/namespace.c
- fs/nfs/nfs3proc.c 11 additions, 6 deletionsfs/nfs/nfs3proc.c
- fs/nfs/nfs4_fs.h 4 additions, 2 deletionsfs/nfs/nfs4_fs.h
- fs/nfs/nfs4namespace.c 1 addition, 2 deletionsfs/nfs/nfs4namespace.c
- fs/nfs/nfs4proc.c 18 additions, 10 deletionsfs/nfs/nfs4proc.c
- fs/nfs/proc.c 10 additions, 5 deletionsfs/nfs/proc.c
- include/linux/nfs_xdr.h 1 addition, 1 deletioninclude/linux/nfs_xdr.h
Loading
Please register or sign in to comment