summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2020-08-04 16:30:30 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-08-12 09:46:05 -0400
commitff041727e9e029845857cac41aae118ead5e261b (patch)
tree71e0a1ff7e3f4799a5dd34bda2f1f7280b51cbe2 /include
parent54898f70a8549492f2268f7cdd855fa1d8c5e0ca (diff)
downloadlinux-ff041727e9e029845857cac41aae118ead5e261b.tar.gz
linux-ff041727e9e029845857cac41aae118ead5e261b.tar.bz2
linux-ff041727e9e029845857cac41aae118ead5e261b.zip
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: e0b7d420f72a ("pNFS: Don't discard layout segments that are marked for return") Cc: stable@vger.kernel.org # v4.19+ Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions