]> 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)
commit4addc98df44fdfefbdcfab72bd8b0e8d4f0e3d0b
tree698b3ba1c636ce876cf452a249d82b95fec0008b
parent065f5d9df8d78d2819221bda6794d271a4c68bf2
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