diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-19 11:21:54 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-02 11:42:51 -0500 |
commit | 63519fbc67d0d9912c13185b7c1e8c2fcb218cc0 (patch) | |
tree | 83bc4fe473c712a77c35b4aa59e80905f94fe869 /tools/laptop | |
parent | 79f687a3de9e3ba2518b4ea33f38ca6cbe9133eb (diff) | |
download | lwn-63519fbc67d0d9912c13185b7c1e8c2fcb218cc0.tar.gz lwn-63519fbc67d0d9912c13185b7c1e8c2fcb218cc0.zip |
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 'tools/laptop')
0 files changed, 0 insertions, 0 deletions