]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: add crc32c_16 and crc32c_8 9526/head
authorSage Weil <sage@redhat.com>
Wed, 15 Jun 2016 19:23:17 +0000 (15:23 -0400)
committerSage Weil <sage@redhat.com>
Wed, 15 Jun 2016 19:25:30 +0000 (15:25 -0400)
commite84c0ad9333139410560ad2cf1ca22bee14e9f0b
treef99de52fe38e34e5d471477fc3ed37daa54f228d
parentc9cdc74687f253950de9ba94942f567cf917ae5c
os/bluestore: add crc32c_16 and crc32c_8

This is much faster than a slice-by-8 crc16, perhaps even without the
intel instructions.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/Checksummer.h
src/os/bluestore/bluestore_types.cc
src/os/bluestore/bluestore_types.h