diff options
author | 2022-02-23 13:29:59 -0500 | |
---|---|---|
committer | 2022-03-02 08:43:39 -0500 | |
commit | b0365ccb0712efacf99936e94e92eb7ae63de4d5 (patch) | |
tree | 767a35afa90afe95a21117d3bfdbe15dcfc55fc2 /include/linux/nfs_fs.h | |
parent | NFS: Convert readdir page cache to use a cookie based index (diff) | |
download | wireguard-linux-b0365ccb0712efacf99936e94e92eb7ae63de4d5.tar.xz wireguard-linux-b0365ccb0712efacf99936e94e92eb7ae63de4d5.zip |
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.h | 1 |
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; }; |