]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/bit_vector: use hard-coded value for block size 7610/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 11 Feb 2016 15:33:40 +0000 (10:33 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 15 Feb 2016 13:49:19 +0000 (08:49 -0500)
commitba2e6ce46fb5f781ffaf6483db8ebd99238419c6
treedf16dc70354d1a0d6a4000a1af62f88cbb9289c0
parent63e671a979e1a81aaeffe8e8f43f4fb133ece76e
common/bit_vector: use hard-coded value for block size

The CEPH_PAGE_SIZE is not actually a constant. On aarch64 platforms
the page size is 64K instead of the assumed 4K.  The CRC block
computations require a true constant.

Fixes: #14747
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/bit_vector.hpp
src/test/common/test_bit_vector.cc