The following series (re)implements SunRPC disconnect injection using the kernel's generic fault injection infrastructure under the debugfs. It's partially a clean-up and partially a fresh implementation of server-side disconnect injection, while also enabling the straightforward addition of further types of fault injection in the future. --- Chuck Lever (4): SUNRPC: Add a /sys/kernel/debug/fail_sunrpc/ directory SUNRPC: Server-side disconnect injection SUNRPC: Move client-side disconnect injection SUNRPC: Add documentation for the fail_sunrpc/ directory .../fault-injection/fault-injection.rst | 18 +++++ include/linux/sunrpc/xprt.h | 18 ----- net/sunrpc/debugfs.c | 71 +++++-------------- net/sunrpc/fail.h | 20 ++++++ net/sunrpc/svc.c | 6 ++ net/sunrpc/xprt.c | 8 +++ 6 files changed, 70 insertions(+), 71 deletions(-) create mode 100644 net/sunrpc/fail.h -- Chuck Lever