diff options
author | Trond Myklebust | 2021-09-28 14:33:44 -0400 |
---|---|---|
committer | Trond Myklebust | 2021-10-03 20:49:07 -0400 |
commit | ff81dfb5d721fff87bd516c558847f6effb70031 (patch) | |
tree | 02a2a6df1a54f8403d624215ca0639b96e1ea8e6 /include/linux/fixp-arith.h | |
parent | 2929bc3329f4c7e4df400acca2b1844492650bfd (diff) |
NFS: Further optimisations for 'ls -l'
If a user is doing 'ls -l', we have a heuristic in GETATTR that tells
the readdir code to try to use READDIRPLUS in order to refresh the inode
attributes. In certain cirumstances, we also try to invalidate the
remaining directory entries in order to ensure this refresh.
If there are multiple readers of the directory, we probably should avoid
invalidating the page cache, since the heuristic breaks down in that
situation anyway.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Diffstat (limited to 'include/linux/fixp-arith.h')
0 files changed, 0 insertions, 0 deletions