Project

General

Profile

Actions

Bug #2155

closed

ceph: xattr: wrong value assumed for "no preferred PG"

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

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

0%

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

Description

In ceph_vxattrcb_file_layout() the layout for a file is printed.

The preferred placement group is extracted from the ceph inode layout,
but the code assumes that a 0 placement group is used to indicate
"no preference." That is incorrect. No preference is represented
by the reserved value (-1).

Actions

Also available in: Atom PDF