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)
commite0b7d420f72a66b5299da025be8e8a17e019a557
treec14b30abf1cf02c1838974b88323b610a394379c
parentcd3f77d74ac31b4627cdfa70812338076a1ea475
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