Project

General

Profile

Actions

Bug #3847

closed

rbd: figure out correct byte order for watch version

Added by Alex Elder over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
% Done:

0%

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

Description

In the process of refactoring rbd code that builds up osd
operations I noticed that for NOTIFY_ACK and WATCH operations
the op->watch.ver field was being converted to little-endian
byte order.

Doing that byte conversion is unlike what's done for the
op structures built up for all other operation types. I
believe it's an error, but haven't had time to verify it.

I'm creating this issue to track this potential bug (rather
than keeping a "XXX" comment in the code).

Actions

Also available in: Atom PDF