]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS: Don't discard layout segments that are marked for return
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 23 Jun 2018 14:28:40 +0000 (10:28 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Jul 2018 20:25:24 +0000 (16:25 -0400)
commit7a5fe79b4508547b7a8c87f024772d3abc0a54ac
treec14b30abf1cf02c1838974b88323b610a394379c
parenta01336ad377d3f88838c8c96bfb9a57d5d4a6b8f
pNFS: Don't discard layout segments that are marked for return

If there are layout segments that are marked for return, then we need
to ensure that pnfs_mark_matching_lsegs_return() does not just
silently discard them, but it should tell the caller that there is a
layoutreturn scheduled.

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