diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-08-05 16:03:56 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-08-12 16:46:06 +0300 |
commit | d474f96104bd4377573526ebae2ee212205a6839 (patch) | |
tree | 30c6b8c6050de9fb4fd8f063941943f4a0a83649 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ff041727e9e029845857cac41aae118ead5e261b (diff) | |
download | linux-d474f96104bd4377573526ebae2ee212205a6839.tar.xz |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions