Project

General

Profile

Actions

Bug #14747

closed

test_bit_vector.cc uses magic numbers against #defines that vary

Added by Dan Mick about 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Category:
librbd
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
hammer, infernalis
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

test_bit_vector's partial_decode_encode test allocates a 9161-element bit vector, and then tests with ranges based on 2 * CEPH_PAGE_SIZE, which works when CEPH_PAGE_SIZE is 4096, which it is on x86 (it's the system page size); however, on aarch64, the system page size is 64K, so the test fails.


Related issues 3 (0 open3 closed)

Copied to Ceph - Bug #14771: test_bit_vector.cc uses magic numbers against #defines that varyRejected02/12/2016

Actions
Copied to Ceph - Backport #14782: infernalis: test_bit_vector.cc uses magic numbers against #defines that varyRejectedLoïc DacharyActions
Copied to Ceph - Backport #14783: hammer: test_bit_vector.cc uses magic numbers against #defines that varyResolvedLoïc DacharyActions
Actions

Also available in: Atom PDF