]> 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)
commit6b962df635552b3d1577e9e5375396dff3422072
tree9f74ae2fc868d1474b282f09bf1e78b09f393bbd
parentd27814988147a9ca3dfc152d1207ce71cdab99f2
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