pNFS/filelayout: check layout segment range
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 7 May 2024 19:59:33 +0000 (15:59 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 21 May 2024 12:34:15 +0000 (08:34 -0400)
commit523412b904c4ad2e9649d536bde0e6c75c88638b
treee088caa374bc0ce031f8e40f13fd5e0867936c64
parent3ebcb24646f8c5bfad2866892d3f3cff05514452
pNFS/filelayout: check layout segment range

Before doing the IO, check that we have the layout covering the range of
IO.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/filelayout/filelayout.c