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 #1

Updated by Jason Dillaman about 8 years ago

  • Status changed from 12 to Fix Under Review
Actions #2

Updated by Dan Mick about 8 years ago

  • Copied to Bug #14771: test_bit_vector.cc uses magic numbers against #defines that vary added
Actions #3

Updated by Dan Mick about 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions #4

Updated by Dan Mick about 8 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to hammer, infernalis
Actions #5

Updated by Loïc Dachary about 8 years ago

  • Copied to Backport #14782: infernalis: test_bit_vector.cc uses magic numbers against #defines that vary added
Actions #6

Updated by Loïc Dachary about 8 years ago

  • Copied to Backport #14783: hammer: test_bit_vector.cc uses magic numbers against #defines that vary added
Actions #7

Updated by Loïc Dachary over 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF