From: Trond Myklebust Date: Fri, 7 Feb 2014 22:02:08 +0000 (-0500) Subject: NFS: Be more aggressive in using readdirplus for 'ls -l' situations X-Git-Tag: v3.15-rc1~66^2~12^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=311324ad1713666a6e803aecf0d4e1a136a5b34a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed