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

NFS: Don't move layouts to plh_return_segs list while in use



If the layout segment is still in use for a read or a write, we should
not move it to the layout plh_return_segs list. If we do, we can end
up returning the layout while I/O is still in progress.

Fixes: e0b7d420 ("pNFS: Don't discard layout segments that are marked for return")
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 54898f70
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