Whamcloud - gitweb
Add initial checksum support for the gdt_checksum/uninit_group feature
authorJose R. Santos <jrs@us.ibm.com>
Mon, 22 Oct 2007 02:03:19 +0000 (21:03 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 20 Mar 2008 19:32:11 +0000 (15:32 -0400)
commitca2634a46ab9da85a3a015a7772770d9dbe5848e
tree600e490543c69b02016f454f98a2f77793dd2399
parentabe85c9f1b267c4787af9c9b0d03dcf9600e7187
Add initial checksum support for the gdt_checksum/uninit_group feature

- Add support for computing CRC-16 value.
- Add call to check/verify/set csum on block_groups.
- Add a test program to verify csum operations.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/Makefile.in
lib/ext2fs/crc16.c [new file with mode: 0644]
lib/ext2fs/crc16.h [new file with mode: 0644]
lib/ext2fs/csum.c [new file with mode: 0644]
lib/ext2fs/ext2_fs.h
lib/ext2fs/ext2fs.h
lib/ext2fs/tst_csum.c [new file with mode: 0644]