summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-08-09 14:01:50 -0400
committerChuck Lever <chuck.lever@oracle.com>2021-08-20 13:50:33 -0400
commit400edd8c0455b9de91d079a4141ff20ba2d221f2 (patch)
treec6855fa5d5e666b31fabe9c6671dfcb340d6abb9
parent3a1261805940d0ff1dbbb9c705dddbc018c0423f (diff)
downloadlinux-riscv-400edd8c0455b9de91d079a4141ff20ba2d221f2.tar.gz
linux-riscv-400edd8c0455b9de91d079a4141ff20ba2d221f2.tar.bz2
linux-riscv-400edd8c0455b9de91d079a4141ff20ba2d221f2.zip
SUNRPC: Add documentation for the fail_sunrpc/ directory
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r--Documentation/fault-injection/fault-injection.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/fault-injection/fault-injection.rst b/Documentation/fault-injection/fault-injection.rst
index f47d05ed0d94..4a25c5eb6f07 100644
--- a/Documentation/fault-injection/fault-injection.rst
+++ b/Documentation/fault-injection/fault-injection.rst
@@ -24,6 +24,10 @@ Available fault injection capabilities
injects futex deadlock and uaddr fault errors.
+- fail_sunrpc
+
+ injects kernel RPC client and server failures.
+
- fail_make_request
injects disk IO errors on devices permitted by setting
@@ -151,6 +155,20 @@ configuration of fault-injection capabilities.
default is 'N', setting it to 'Y' will disable failure injections
when dealing with private (address space) futexes.
+- /sys/kernel/debug/fail_sunrpc/ignore-client-disconnect:
+
+ Format: { 'Y' | 'N' }
+
+ default is 'N', setting it to 'Y' will disable disconnect
+ injection on the RPC client.
+
+- /sys/kernel/debug/fail_sunrpc/ignore-server-disconnect:
+
+ Format: { 'Y' | 'N' }
+
+ default is 'N', setting it to 'Y' will disable disconnect
+ injection on the RPC server.
+
- /sys/kernel/debug/fail_function/inject:
Format: { 'function-name' | '!function-name' | '' }