04 Jun, 2009

1 commit

  • 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
     

06 Jan, 2009

1 commit

  • This is the code that computes crc32 and ecc for ocfs2 metadata blocks.
    There are high-level functions that check whether the filesystem has the
    ecc feature, mid-level functions that work on a single block or array of
    buffer_heads, and the low-level ecc hamming code that can handle
    multiple buffers like crc32_le().

    It's not hooked up to the filesystem yet.

    Signed-off-by: Joel Becker
    Cc: Christoph Hellwig
    Signed-off-by: Mark Fasheh

    Joel Becker