Project

General

Profile

Actions

Bug #2064

closed

ceph-client: messenger: nocrc flag not implemented correctly

Added by Alex Elder about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

The "nocrc" option is supposed to disable CRC32 calculation on messages
sent between ceph entities. The default is that the CRC should be
computed on messages written and verified when they're read.

In read_partial_message() and write_partial_msg_pages() however, it looks
like the logic is reversed, so if the "nocrc" flag is set, then CRC's
are used, and if it is not set they are not. I.e., by default we are
not computing and checking message CRC's.

Actions

Also available in: Atom PDF