]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit992525728cf31c0f49a29a0b2975fedfd8e206ef
tree698b3ba1c636ce876cf452a249d82b95fec0008b
parent945e1407d284a59b49da5452818879103ab2472b
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