diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-09 18:07:51 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-09 20:26:59 -0500 |
commit | d9152114f7c9abb096275b72db8527c004d57bf9 (patch) | |
tree | 46646c3839734c3de03db48f311972e7f1ed6af5 /include/linux/nfs_xdr.h | |
parent | 5ba6a09e92342e40b63af1654da8b8bc8b5a83c6 (diff) | |
download | op-kernel-dev-d9152114f7c9abb096275b72db8527c004d57bf9.zip op-kernel-dev-d9152114f7c9abb096275b72db8527c004d57bf9.tar.gz |
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 'include/linux/nfs_xdr.h')
0 files changed, 0 insertions, 0 deletions