]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Add the on-disk structures for metadata checksums.
authorJoel Becker <joel.becker@oracle.com>
Fri, 17 Oct 2008 00:50:30 +0000 (17:50 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:31 +0000 (08:40 -0800)
commitaa0dfc493b2b5fa6c7ca49f527bf50de04cc5851
tree86a966a56e0fc38ce0a1464b811b31ece1cf820c
parent3322154033e3823aa206a88f9980620ccbb5594f
ocfs2: Add the on-disk structures for metadata checksums.

Define struct ocfs2_block_check, an 8-byte structure containing a 32bit
crc32_le and a 16bit hamming code ecc.  This will be used for metadata
checksums.  Add the structure to free spaces in the various metadata
structures.

Add the OCFS2_FEATURE_INCOMPAT_META_ECC bit.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/ocfs2_fs.h