• J
    ocfs2: Add statistics for the checksum and ecc operations. · 73be192b
    Joel Becker 提交于
    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: NJoel Becker <joel.becker@oracle.com>
    73be192b
blockcheck.c 16.4 KB