OSDN Git Service

NFS: Add softreval behaviour to nfs_lookup_revalidate()
authorTrond Myklebust <trondmy@gmail.com>
Tue, 14 Jan 2020 17:06:34 +0000 (12:06 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 24 Jan 2020 21:51:13 +0000 (16:51 -0500)
commitf7b37b8b139860ed786bf8ce4358290c6053d94d
tree698b3ba1c636ce876cf452a249d82b95fec0008b
parentfe1e8dbec11fcad3ae7a34e95fe483d4a2b018fc
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>
fs/nfs/dir.c
fs/nfs/internal.h
fs/nfs/namespace.c
fs/nfs/nfs3proc.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4namespace.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
include/linux/nfs_xdr.h