Home
last modified time | relevance | path

Searched hist:"65178 db42a02c7984f711614546e97e9952d8e01" (Results 1 – 2 of 2) sorted by relevance

/linux/fs/nfsd/
H A Dnfsctl.cdiff 65178db42a02c7984f711614546e97e9952d8e01 Tue Nov 01 18:35:21 CET 2011 Bryan Schumaker <bjschuma@netapp.com> NFSD: Added fault injection

Fault injection on the NFS server makes it easier to test the client's
state manager and recovery threads. Simulating errors on the server is
easier than finding the right conditions that cause them naturally.

This patch uses debugfs to add a simple framework for fault injection to
the server. This framework is a config option, and can be enabled
through CONFIG_NFSD_FAULT_INJECTION. Assuming you have debugfs mounted
to /sys/debug, a set of files will be created in /sys/debug/nfsd/.
Writing to any of these files will cause the corresponding action and
write a log entry to dmesg.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
H A Dnfs4state.cdiff 65178db42a02c7984f711614546e97e9952d8e01 Tue Nov 01 18:35:21 CET 2011 Bryan Schumaker <bjschuma@netapp.com> NFSD: Added fault injection

Fault injection on the NFS server makes it easier to test the client's
state manager and recovery threads. Simulating errors on the server is
easier than finding the right conditions that cause them naturally.

This patch uses debugfs to add a simple framework for fault injection to
the server. This framework is a config option, and can be enabled
through CONFIG_NFSD_FAULT_INJECTION. Assuming you have debugfs mounted
to /sys/debug, a set of files will be created in /sys/debug/nfsd/.
Writing to any of these files will cause the corresponding action and
write a log entry to dmesg.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>