Skip to content
Commit d474f961 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Don't return layout segments that are in use



If the NFS_LAYOUT_RETURN_REQUESTED flag is set, we want to return the
layout as soon as possible, meaning that the affected layout segments
should be marked as invalid, and should no longer be in use for I/O.

Fixes: f0b42981 ("pNFS: Ignore non-recalled layouts in pnfs_layout_need_return()")
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent ff041727
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment