pNFS: Ignore non-recalled layouts in pnfs_layout_need_return()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 23 Jun 2018 20:55:37 +0000 (16:55 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Jul 2018 20:25:25 +0000 (16:25 -0400)
commitf0b429819b5fbcedd1be15da7277292a0431ddd0
treeb4d7f32117d3f714a397b59dff8cbea623fcd60a
parent00bcbe119f915dec256f211f9dbfc93cb64773bc
pNFS: Ignore non-recalled layouts in pnfs_layout_need_return()

If a layout has been recalled, then we should fire off a layoutreturn as
soon as all the layout segments that match the recall have been retired.

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