]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Reduce readdir stack usage
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 2 Nov 2020 13:55:03 +0000 (08:55 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:52 +0000 (14:05 -0500)
commitddf67bbabaf35729ada70bd15c4f56fec79b5daa
tree9cdf7c157a3aee1c5e38556c49815dd182d4ceeb
parentd64289b0b74a6235afb4bd4925755ba9591020b4
NFS: Reduce readdir stack usage

The descriptor and the struct nfs_entry are both large structures,
so don't allocate them from the stack.

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