NFS: Fix up forced readdirplus
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 23 Feb 2022 18:29:59 +0000 (13:29 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Mar 2022 13:43:39 +0000 (08:43 -0500)
commitb0365ccb0712efacf99936e94e92eb7ae63de4d5
tree767a35afa90afe95a21117d3bfdbe15dcfc55fc2
parentf648022faa68ef76058aa121d1aa3a967d59cae8
NFS: Fix up forced readdirplus

Avoid clearing the entire readdir page cache if we're just doing forced
readdirplus for the 'ls -l' heuristic.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c
fs/nfs/nfstrace.h
include/linux/nfs_fs.h