Lines Matching refs:to
5 may be difficult to reproduce. Forcing these errors in a controlled environment
7 production system. Injecting an error on the Linux NFS server will allow us to
8 observe how the client reacts and if it manages to recover its state correctly.
10 NFSD_FAULT_INJECTION must be selected when configuring the kernel to use this
19 On the server, mount the debugfs filesystem to <debug_dir> and ls
21 injecting faults on the NFS server. As root, write a number n to the file
22 corresponding to the action you want the server to take. The server will then
23 process the first n items it finds. So if you want to forget 5 locks, echo '5'
24 to <debug_dir>/nfsd/forget_locks. A value of 0 will tell the server to forget
28 Go back to work on the client and check if the client recovered from the error
37 is, forcing the client to reauthenticate with the server.
41 they were opened by. Clearing this list will force the client to reopen
46 Clearing this list will force the client to reclaim its locks (files are
50 A delegation is used to assure the client that a file, or part of a file,
52 force the client to reaquire its delegation before accessing the file
56 Delegations can be recalled by the server when another client attempts to
58 been revoked, forcing the client to reaquire the delegation before using
64 This script has been created to ease the fault injection process. This script
65 will detect the mounted debugfs directory and write to the files located there
67 `inject_faults.sh forget_locks 1` as root will instruct the server to forget
68 one lock. Running `inject_faults forget_locks` will instruct the server to