]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: Check the layout segment range before doing I/O
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 23 Mar 2020 18:48:23 +0000 (14:48 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 27 Mar 2020 20:34:35 +0000 (16:34 -0400)
commit0b5dac0f13c67c4c825ea6ad0cbf2d04be962ace
treebf98a9ce386ea6960ca2b65ff437f70e7b75908a
parentca0bc570549fc4ef40bcb2e7f276863909004d25
pNFS/flexfiles: Check the layout segment range before doing I/O

When starting to read or write with a layout segment, check that the
range matches our request.

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