Project

General

Profile

Actions

Bug #14771

closed

test_bit_vector.cc uses magic numbers against #defines that vary

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

Status:
Rejected
Priority:
Normal
Assignee:
-
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 1 (0 open1 closed)

Copied from Ceph - Bug #14747: test_bit_vector.cc uses magic numbers against #defines that varyResolvedJason Dillaman02/12/2016

Actions
Actions #1

Updated by Dan Mick about 8 years ago

  • Copied from Bug #14747: test_bit_vector.cc uses magic numbers against #defines that vary added
Actions #2

Updated by Dan Mick about 8 years ago

  • Status changed from New to Rejected

understood process wrong

Actions

Also available in: Atom PDF