]> 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)
commitcda703e86450cffdb62a0be77d395c32f54d783b
treebf98a9ce386ea6960ca2b65ff437f70e7b75908a
parent2b5080c62bc69c3a284d405724922e3aad5f013c
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