NFSD: Reading a fault injection file prints a state count
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 29 Nov 2012 16:40:44 +0000 (11:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 3 Dec 2012 14:59:01 +0000 (09:59 -0500)
commit184c18471f7d0963ad5752692c4b441a546d88f1
tree92dc8d2d5d7104888055741b6c2c6fca67795b05
parent8ce54e0d82730ece61737c9fd7b61b28ab8c3390
NFSD: Reading a fault injection file prints a state count

I also log basic information that I can figure out about the type of
state (such as number of locks for each client IP address).  This can be
useful for checking that state was actually dropped and later for
checking if the client was able to recover.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/fault_inject.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h