diff options
author | 2022-10-05 15:57:36 -0400 | |
---|---|---|
committer | 2022-10-06 09:52:09 -0400 | |
commit | f8423909ecca208834a9d704e58409800f8b5f21 (patch) | |
tree | a55dc54d7ad0254bcab9d25240cc64b249483e61 /scripts/generate_rust_analyzer.py | |
parent | SUNRPC: Fix races with rpc_killall_tasks() (diff) | |
download | wireguard-linux-f8423909ecca208834a9d704e58409800f8b5f21.tar.xz wireguard-linux-f8423909ecca208834a9d704e58409800f8b5f21.zip |
SUNRPC: Add a helper to allow pNFS drivers to selectively cancel RPC calls
Add the helper rpc_cancel_tasks(), which uses a caller-defined selection
function to define a set of in-flight RPC calls to cancel. This is
mainly intended for pNFS drivers which are subject to a layout recall,
and which may therefore want to cancel all pending I/O using that layout
in order to redrive it after the layout recall has been satisfied.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions