Whamcloud - gitweb
LU-241 Support crc32c with hardware accelerated instruction as one of lustre checksums
authorShuichi Ihara <sihara@ddn.com>
Thu, 23 Jun 2011 13:08:39 +0000 (22:08 +0900)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 Oct 2011 08:23:34 +0000 (04:23 -0400)
commit0517160dd68ac026513ad1b8e3e6f7abd4acfdef
tree72a278fa1d0a119f0662066decea4adfa554a9e3
parent398fd6e9da8c845efb45bdc6b0af2c8440219d7e
LU-241 Support crc32c with hardware accelerated instruction as one of lustre checksums

Adding CRC32C as new lustre checksum algorithm. Because of crc32c,
the Intel Nehalem based CPU supports h/w accelerated crc32c
instruction as one of SSE4.2 instruction set. The new crc32c codes
in the lustre also use this h/w instruction. The lustre also
automatically detects whether crc32c instruction is available, if
not, use adler (fastest checksum other than crc32c).

Change-Id: I764851a46a94a879239cd127eac411e98342e67f
Signed-off-by: Shuichi Ihara <sihara@ddn.com>
Reviewed-on: http://review.whamcloud.com/1009
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
13 files changed:
lustre/include/linux/obd_support.h
lustre/include/lustre/lustre_idl.h
lustre/include/obd_cksum.h
lustre/llite/llite_lib.c
lustre/mds/mds_lov.c
lustre/obdfilter/filter.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c
lustre/ptlrpc/import.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c