pNFS/flexfiles: Specify the layout segment range in LAYOUTGET
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 23 Mar 2020 19:18:12 +0000 (15:18 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 27 Mar 2020 20:34:35 +0000 (16:34 -0400)
commitcbd7be43c4d40dbd1b33c8414d1bc019fa38849e
tree9e9954da044273ef5386a660f001c95fb06b1ec9
parente70430d9398fc959d1392d416da78167087e1256
pNFS/flexfiles: Specify the layout segment range in LAYOUTGET

Move from requesting only full file layout segments, to requesting
layout segments that match our I/O size. This means the server is
still free to return a full file layout, but we will no longer
error out if it does not.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/flexfilelayout/flexfilelayout.c