diff options
author | Trond Myklebust <[email protected]> | 2016-11-19 11:21:54 -0500 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2016-12-02 11:42:51 -0500 |
commit | 63519fbc67d0d9912c13185b7c1e8c2fcb218cc0 (patch) | |
tree | 83bc4fe473c712a77c35b4aa59e80905f94fe869 /fs/nfs/flexfilelayout/flexfilelayout.c | |
parent | 79f687a3de9e3ba2518b4ea33f38ca6cbe9133eb (diff) |
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 <[email protected]>
Tested-by: Benjamin Coddington <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayout.c')
0 files changed, 0 insertions, 0 deletions