]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't discard readdir results
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 1 Nov 2020 18:14:10 +0000 (13:14 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:51 +0000 (14:05 -0500)
commit8f1af5af9319029c2a2d834dac8ae4650aac5e30
tree56ec985a50c0c7f09dc5c5db50a0869b45424974
parent88d09835aa16de46070044f498dd943ce827ea7c
NFS: Don't discard readdir results

If a readdir call returns more data than we can fit into one page
cache page, then allocate a new one for that data rather than
discarding the data.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Dave Wysochanski <dwysocha@redhat.com>
fs/nfs/dir.c