Project

General

Profile

Actions

Bug #36030

open

CRC is always zero on AArch64 systems supporting crc32cx if the build host does not support crc32cx

Added by David Wang over 5 years ago. Updated about 5 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous, mimic
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This is the same story as http://tracker.ceph.com/issues/19705

If the build host does not support the crc32cx instruction, HAVE_ARMV8_CRC will not be set and ceph_crc32c_aarch64 will be a dummy function that always returns zero. However, if HWCAP_CRC32 is supported on the actual target machine, that dummy function will be selected anyway.

In particular, the Debian packages offered at https://download.ceph.com/debian-luminous suffer from this issue and so it is not possible for clients using those packages running on an AArch64 machine that supports the crc32cx instruction from connecting to non-buggy Ceph services. Likewise it is not possible for non-buggy clients to connect to Ceph services using those packages running on an AArch64 machine that supports the crc32cx instruction.

Actions #1

Updated by Kefu Chai over 5 years ago

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

Updated by Kefu Chai over 5 years ago

  • Backport changed from luminous to luminous, mimic
Actions #3

Updated by Greg Farnum about 5 years ago

  • Project changed from Ceph to Messengers
  • Category deleted (msgr)
Actions

Also available in: Atom PDF