commit | 28ced9a84cd2f9fc68a081fb3b34e70c5d459be3 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Sep 03 13:12:15 2018 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Sep 30 15:35:16 2018 -0400 |
tree | 2fce92ffd58bdf780ba75c51838f95f38cfe6f00 | |
parent | a2791d3a2cee9432e78bbdcfde586ef54e32d223 [diff] |
pNFS: Don't allocate more pages than we need to fit a layoutget response For the 'files' and 'flexfiles' layout types, we do not expect the reply to be any larger than 4k. The block and scsi layout types are a little more greedy, so we keep allocating the maximum response size for now. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>