forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUNRPC: Add a /sys/kernel/debug/fail_sunrpc/ directory
This directory will contain a set of administrative controls for enabling error injection for kernel RPC consumers. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
- Loading branch information
1 parent
2734d6c
commit f632448
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (C) 2021, Oracle. All rights reserved. | ||
*/ | ||
|
||
#ifndef _NET_SUNRPC_FAIL_H_ | ||
#define _NET_SUNRPC_FAIL_H_ | ||
|
||
#include <linux/fault-inject.h> | ||
|
||
struct fail_sunrpc_attr { | ||
struct fault_attr attr; | ||
}; | ||
|
||
extern struct fail_sunrpc_attr fail_sunrpc; | ||
|
||
#endif /* _NET_SUNRPC_FAIL_H_ */ |