diff options
author | Trond Myklebust | 2022-10-05 15:57:36 -0400 |
---|---|---|
committer | Anna Schumaker | 2022-10-06 09:52:09 -0400 |
commit | f8423909ecca208834a9d704e58409800f8b5f21 (patch) | |
tree | a55dc54d7ad0254bcab9d25240cc64b249483e61 /security/yama | |
parent | 39494194f93bed7926d4b3bd03a6a76ba23e612b (diff) |
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 'security/yama')
0 files changed, 0 insertions, 0 deletions