Whamcloud - gitweb
libext2fs: optimize the CRC32c implementation
authorDarrick J. Wong <djwong@us.ibm.com>
Fri, 3 Aug 2012 00:47:46 +0000 (20:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 Aug 2012 00:47:46 +0000 (20:47 -0400)
commit033c3384902e9672267022405d29b8a36eb8a9a9
treebc6d08b0fa278e859e5b84fc730ba0a856b0124a
parent3e752286b915a895a97a81d2d08d83fddca22737
libext2fs: optimize the CRC32c implementation

The crc32c implementation in the kernel has been refactored a bit to
reduce the amount of code that needs to be maintained, and to speed up
tune2fs/e2fsck on PowerPC by 5-10%.  Port the crc32c changes over, and
provide a crc32_be so that we can remove the duplicate functionality
from e2fsck.  Also drop crc32c_be and crc32_le since neither got used.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/crc32c.c
lib/ext2fs/crc32c_defs.h
lib/ext2fs/ext2fs.h
lib/ext2fs/gen_crc32ctable.c