diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-19 19:21:54 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-02 19:42:51 +0300 |
commit | 63519fbc67d0d9912c13185b7c1e8c2fcb218cc0 (patch) | |
tree | 83bc4fe473c712a77c35b4aa59e80905f94fe869 /fs/nfs/internal.h | |
parent | 79f687a3de9e3ba2518b4ea33f38ca6cbe9133eb (diff) | |
download | linux-63519fbc67d0d9912c13185b7c1e8c2fcb218cc0.tar.xz |
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