diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-01-18 22:10:52 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-02-02 10:47:33 -0500 |
commit | e1d2699b96793d19388e302fa095e0da2c145701 (patch) | |
tree | 7c9a296e49be8f754e853b702025a77f1e00a96a /fs/nfs/client.c | |
parent | ce292d8faf41f62e0fb0c78476c6fce5d629235a (diff) |
NFS: Avoid duplicate uncached readdir calls on eof
If we've reached the end of the directory, then cache that information
in the context so that we don't need to do an uncached readdir in order
to rediscover that fact.
Fixes: 794092c57f89 ("NFS: Do uncached readdir when we're seeking a cookie in an empty page cache")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/client.c')
0 files changed, 0 insertions, 0 deletions