summaryrefslogtreecommitdiff
path: root/crypto/keywrap.c
diff options
context:
space:
mode:
authortrondmy@kernel.org <trondmy@kernel.org>2022-01-19 03:25:42 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2022-02-02 18:47:13 +0300
commitd9c4e39c1f8f8a8ebaccf00b8f22c14364b2d27e (patch)
tree06b7e41b2f76123eb3c61a2cd571191d525886da /crypto/keywrap.c
parent26291c54e111ff6ba87a164d85d4a4e134b7315c (diff)
downloadlinux-d9c4e39c1f8f8a8ebaccf00b8f22c14364b2d27e.tar.xz
NFS: Don't overfill uncached readdir pages
If we're doing an uncached read of the directory, then we ideally want to read only the exact set of entries that will fit in the buffer supplied by the getdents() system call. So unlike the case where we're reading into the page cache, let's send only one READDIR call, before trying to fill up the buffer. Fixes: 35df59d3ef69 ("NFS: Reduce number of RPC calls when doing uncached readdir") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'crypto/keywrap.c')
0 files changed, 0 insertions, 0 deletions