]> git.baikalelectronics.ru Git - 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)
commitf868b56fb422c0bcd4b57a430758b17d562ffc5c
tree9f74ae2fc868d1474b282f09bf1e78b09f393bbd
parent01406f1cafdddea224797603213afe6d7367c6a9
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