summary refs log tree commit diff
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-11-19 11:21:54 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-12-02 11:42:51 -0500
commit63519fbc67d0d9912c13185b7c1e8c2fcb218cc0 (patch)
tree83bc4fe473c712a77c35b4aa59e80905f94fe869 /fs/nfs/internal.h
parent79f687a3de9e3ba2518b4ea33f38ca6cbe9133eb (diff)
downloadlinux-63519fbc67d0d9912c13185b7c1e8c2fcb218cc0.tar.gz
NFS: Be more targeted about readdirplus use when doing lookup/revalidation
There is little point in setting NFS_INO_ADVISE_RDPLUS in nfs_lookup and
nfs_lookup_revalidate() unless a process is actually doing readdir on the
parent directory.
Furthermore, there is little point in using readdirplus if we're trying
to revalidate a negative dentry.

Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
0 files changed, 0 insertions, 0 deletions