summaryrefslogtreecommitdiffstats
path: root/crypto/hash.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-01-06 14:57:08 -0800
committerJoel Becker <joel.becker@oracle.com>2009-06-03 19:15:36 -0700
commit73be192b17e43b6dc4f492dab41d70ab5b9d2908 (patch)
tree9482070421cda81f490036b28033d4f300a58a94 /crypto/hash.c
parent15633a220ffe74fc61bc8117e6a89a494011ea3d (diff)
downloadop-kernel-dev-73be192b17e43b6dc4f492dab41d70ab5b9d2908.zip
op-kernel-dev-73be192b17e43b6dc4f492dab41d70ab5b9d2908.tar.gz
ocfs2: Add statistics for the checksum and ecc operations.
It would be nice to know how often we get checksum failures. Even better, how many of them we can fix with the single bit ecc. So, we add a statistics structure. The structure can be installed into debugfs wherever the user wants. For ocfs2, we'll put it in the superblock-specific debugfs directory and pass it down from our higher-level functions. The stats are only registered with debugfs when the filesystem supports metadata ecc. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'crypto/hash.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud