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

hammer: test_bit_vector.cc uses magic numbers against #defines that vary #7672

Merged
merged 1 commit into from Mar 3, 2016
Merged

hammer: test_bit_vector.cc uses magic numbers against #defines that vary #7672

merged 1 commit into from Mar 3, 2016

Conversation

ghost
Copy link

@ghost ghost commented Feb 17, 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: #14747
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ba2e6ce)
@ghost ghost self-assigned this Feb 17, 2016
@ghost ghost added this to the hammer milestone Feb 17, 2016
ghost pushed a commit that referenced this pull request Feb 22, 2016
…rs against #defines that vary

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link
Author

ghost commented Feb 25, 2016

@liewegas does this backport look good to merge ? It passed the hammer upgrade suite ( http://tracker.ceph.com/issues/14692#note-14 ) the rados suite http://tracker.ceph.com/issues/14692#note-13.

ghost pushed a commit that referenced this pull request Feb 26, 2016
…rs against #defines that vary

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost assigned liewegas and unassigned ghost Mar 3, 2016
liewegas added a commit that referenced this pull request Mar 3, 2016
hammer: test_bit_vector.cc uses magic numbers against #defines that vary
@liewegas liewegas merged commit d314849 into ceph:hammer Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant