Joel Becker wrote:
> 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 <[EMAIL PROTECTED]>
> ---
>  fs/ocfs2/ocfs2_fs.h |   55 ++++++++++++++++++++++++++++++++++++++++++++++----
>  1 files changed, 50 insertions(+), 5 deletions(-)
> 
> diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h
> index 4ae3984..4e20f50 100644
> --- a/fs/ocfs2/ocfs2_fs.h
> +++ b/fs/ocfs2/ocfs2_fs.h
> @@ -148,6 +148,9 @@
>  /* Support for extended attributes */
>  #define OCFS2_FEATURE_INCOMPAT_XATTR         0x0200
>  
> +/* Metadata checksum and error correction */
> +#define OCFS2_FEATURE_INCOMPAT_META_ECC              0x0800
> +
Is there any reason why we don't use 0x0400?

Regards,
Tao

_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to