Skip to content
Commit 311324ad authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Be more aggressive in using readdirplus for 'ls -l' situations



Try to detect 'ls -l' by having nfs_getattr() look at whether or not
there is an opendir() file descriptor for the parent directory.
If so, then assume that we want to force use of readdirplus in order
to avoid the multiple GETATTR calls over the wire.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 2ea24497
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment