Skip to content
Commit 73be192b authored by Joel Becker's avatar Joel Becker
Browse files

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: default avatarJoel Becker <joel.becker@oracle.com>
parent 15633a22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment