diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-08-05 09:03:56 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-08-12 09:46:06 -0400 |
commit | d474f96104bd4377573526ebae2ee212205a6839 (patch) | |
tree | 30c6b8c6050de9fb4fd8f063941943f4a0a83649 /fs/nfs/callback.c | |
parent | ff041727e9e029845857cac41aae118ead5e261b (diff) |
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: f0b429819b5f ("pNFS: Ignore non-recalled layouts in pnfs_layout_need_return()")
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/callback.c')
0 files changed, 0 insertions, 0 deletions