summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2022-02-17 21:46:23 +0100
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-03-02 14:43:38 +0100
commitad1e109a4109ce0cbdfebfbe1958d0c333166d5c (patch)
treef74d0752488ab9e3421d6a0d9b8055f949c3a621 /fs/nfs/nfs3xdr.c
parentNFS: Improve heuristic for readdirplus (diff)
downloadlinux-ad1e109a4109ce0cbdfebfbe1958d0c333166d5c.tar.xz
linux-ad1e109a4109ce0cbdfebfbe1958d0c333166d5c.zip
NFS: Don't ask for readdirplus unless it can help nfs_getattr()
If attribute caching is turned off, then use of readdirplus is not going to help stat() performance. Readdirplus also doesn't help if a file is being written to, since we will have to flush those writes in order to sync the mtime/ctime. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs3xdr.c')
0 files changed, 0 insertions, 0 deletions