commit | d9152114f7c9abb096275b72db8527c004d57bf9 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Dec 09 18:07:51 2016 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Dec 09 20:26:59 2016 -0500 |
tree | 46646c3839734c3de03db48f311972e7f1ed6af5 | |
parent | 5ba6a09e92342e40b63af1654da8b8bc8b5a83c6 [diff] |
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>