Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common/bit_vector: use hard-coded value for block size #7610

Merged
merged 1 commit into from Feb 16, 2016

Conversation

dillaman
Copy link

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

Signed-off-by: Jason Dillaman dillaman@redhat.com

@dmick
Copy link
Member

dmick commented Feb 13, 2016

Other than the test failing, which I guess is dumb, can you add the issue I filed after you filed this PR to the commit msg (i.e. Fixes: #14747) so it links up with tracker?

@dmick dmick self-assigned this Feb 13, 2016
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: ceph#14747
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@dillaman
Copy link
Author

done

dmick added a commit that referenced this pull request Feb 16, 2016
common/bit_vector: use hard-coded value for block size

Reviewed-by: Dan Mick <dmick@redhat.com>
@dmick dmick merged commit 9d2c786 into ceph:master Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants