SUNRPC: Server-side disconnect injection
authorChuck Lever <chuck.lever@oracle.com>
Tue, 3 Aug 2021 19:55:58 +0000 (15:55 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 Aug 2021 17:50:33 +0000 (13:50 -0400)
commit3a1261805940d0ff1dbbb9c705dddbc018c0423f
tree577dc9ebe7e94b839dbe615b3e368dafc2211c31
parenta4ae308143961bf688e1c8a62f6604e62b491120
SUNRPC: Server-side disconnect injection

Disconnect injection stress-tests the ability for both client and
server implementations to behave resiliently in the face of network
instability.

A file called /sys/kernel/debug/fail_sunrpc/ignore-server-disconnect
enables administrators to turn off server-side disconnect injection
while allowing other types of sunrpc errors to be injected. The
default setting is that server-side disconnect injection is enabled
(ignore=false).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/debugfs.c
net/sunrpc/fail.h
net/sunrpc/svc.c