diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-08-05 10:25:49 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-08-20 13:50:32 -0400 |
commit | a4ae308143961bf688e1c8a62f6604e62b491120 (patch) | |
tree | 9f74ae2fc868d1474b282f09bf1e78b09f393bbd /net/sunrpc/fail.h | |
parent | c782af250083f69ba810e79b60a552252e777416 (diff) |
SUNRPC: Move client-side disconnect injection
Disconnect injection stress-tests the ability for both client and
server implementations to behave resiliently in the face of network
instability.
Convert the existing client-side disconnect injection infrastructure
to use the kernel's generic error injection facility. The generic
facility has a richer set of injection criteria.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/fail.h')
-rw-r--r-- | net/sunrpc/fail.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/fail.h b/net/sunrpc/fail.h index 1d402b0d3453..62c1b9fd59e2 100644 --- a/net/sunrpc/fail.h +++ b/net/sunrpc/fail.h @@ -12,6 +12,8 @@ struct fail_sunrpc_attr { struct fault_attr attr; + + bool ignore_client_disconnect; }; extern struct fail_sunrpc_attr fail_sunrpc; |