NFS: Allow applications to speed up readdir+statx() using AT_STATX_DONT_SYNC
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 4 Jun 2020 20:20:06 +0000 (16:20 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 13 Jul 2020 03:49:55 +0000 (23:49 -0400)
commitac7cbb221159efbf4491de0177b4e20a5d62e5ae
treec9bb8ecdb836ae85df224d97d74fb2039237a65a
parent11ba468877bb23f28956a35e896356252d63c983
NFS: Allow applications to speed up readdir+statx() using AT_STATX_DONT_SYNC

If the application uses the AT_STATX_DONT_SYNC flag after doing readdir(),
then we should still mark the parent inode as seeing a readdirplus hit.
That ensures that we continue to use readdirplus in the 'ls -l' type
of workflow to do fast lookups of the dentries.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/inode.c