commit | 311324ad1713666a6e803aecf0d4e1a136a5b34a | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Feb 07 17:02:08 2014 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Feb 11 14:01:20 2014 -0500 |
tree | 524ee4e8b5049a48ab9d3824eada3c5099de4dd2 | |
parent | 2ea24497a1b30dd03dd42b873fa5097913587f4d [diff] |
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: Trond Myklebust <trond.myklebust@primarydata.com>