]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
SUNRPC: Move client-side disconnect injection
authorChuck Lever <chuck.lever@oracle.com>
Thu, 5 Aug 2021 14:25:49 +0000 (10:25 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 Aug 2021 17:50:32 +0000 (13:50 -0400)
commita4ae308143961bf688e1c8a62f6604e62b491120
tree9f74ae2fc868d1474b282f09bf1e78b09f393bbd
parentc782af250083f69ba810e79b60a552252e777416
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>
include/linux/sunrpc/xprt.h
net/sunrpc/debugfs.c
net/sunrpc/fail.h
net/sunrpc/xprt.c