ocfs2: Add statistics for the checksum and ecc operations.
authorJoel Becker <joel.becker@oracle.com>
Tue, 6 Jan 2009 22:57:08 +0000 (14:57 -0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 4 Jun 2009 02:15:36 +0000 (19:15 -0700)
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>

No differences found