raid5-cache: use crc32c checksum
authorShaohua Li <shli@fb.com>
Wed, 28 Oct 2015 15:41:25 +0000 (08:41 -0700)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:45:39 +0000 (13:45 +1100)
commit5cb2fbd6ea0d151dcb12d98c06c8761eedfed2ee
treea5a7bc748d75a96d6b8e7d487c7720e2ee3cf292
parent355810d12a8974ff1f3a7336149b65d4bda84634
raid5-cache: use crc32c checksum

crc32c has lower overhead with cpu acceleration. It's a shame I didn't
use it in first post, sorry. This changes disk format, but we are still
ok in current stage.

V2: delete unnecessary type conversion as pointed out by Bart

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
drivers/md/raid5-cache.c