Skip to content

Commit

Permalink
SUNRPC: Add documentation for the fail_sunrpc/ directory
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
  • Loading branch information
Chuck Lever committed Aug 20, 2021
1 parent 3a12618 commit 400edd8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Documentation/fault-injection/fault-injection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' | '' }
Expand Down

0 comments on commit 400edd8

Please sign in to comment.