summaryrefslogtreecommitdiff
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2022-02-23 21:29:59 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-03-02 16:43:39 +0300
commitb0365ccb0712efacf99936e94e92eb7ae63de4d5 (patch)
tree767a35afa90afe95a21117d3bfdbe15dcfc55fc2 /include/linux/nfs_fs.h
parentf648022faa68ef76058aa121d1aa3a967d59cae8 (diff)
downloadlinux-b0365ccb0712efacf99936e94e92eb7ae63de4d5.tar.xz
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>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r--include/linux/nfs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 42aad886d3c0..3893386ceaed 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -109,6 +109,7 @@ struct nfs_open_dir_context {
__u64 last_cookie;
pgoff_t page_index;
unsigned int dtsize;
+ bool force_clear;
bool eof;
struct rcu_head rcu_head;
};