summaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-12-09 18:07:51 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-12-09 20:26:59 -0500
commitd9152114f7c9abb096275b72db8527c004d57bf9 (patch)
tree46646c3839734c3de03db48f311972e7f1ed6af5 /fs/nfs/dir.c
parent5ba6a09e92342e40b63af1654da8b8bc8b5a83c6 (diff)
downloadlinux-stable-d9152114f7c9abb096275b72db8527c004d57bf9.tar.gz
linux-stable-d9152114f7c9abb096275b72db8527c004d57bf9.tar.bz2
linux-stable-d9152114f7c9abb096275b72db8527c004d57bf9.zip
pNFS/flexfiles: Ensure we have enough buffer for layoutreturn
The flexfiles client can piggyback both layout errors and layoutstats as part of the layoutreturn. Both these payloads can get large, with 20 layout error entries taking up about 1.2K, and 4 layoutstats entries taking up another 1K. This patch allows a maximum payload of 4k by allocating a full page. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions