pNFS/filelayout: Specify the layout segment range in LAYOUTGET
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 20 Mar 2024 21:11:20 +0000 (17:11 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 20 May 2024 15:06:18 +0000 (11:06 -0400)
commit464b424fb09b894f792a494f10539c190db503cf
tree1e183c016bdc6eacaf6d15a3492d497b8d710874
parent9c75576e3bbf0153e92ab51ff161962d8632c290
pNFS/filelayout: Specify the layout segment range in LAYOUTGET

Move from only requesting 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 if it wants, but partial layouts will no
longer cause an error.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/filelayout/filelayout.c