Project

General

Profile

Actions

Bug #7779

closed

osd: object file can have too many xattrs, get E2BIG

Added by Sage Weil about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

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

Description

if an object has too many xattrs on it, you get E2BIG from listxattr. one such object:

llistxattr("./DIR_B/DIR_C/DIR_D/DIR_A/DIR_4/redacted__head_F514ADCB__5", 0x7fffb9b20150, 65536) = -1 E2BIG (Argument list too long)

this causes backfill to fall over because teh object_info_t _ attr isn't in the getattrs list. (strangely it doesn't error out before that from teh E2BIG)

fixed this manually be getting the ceph._ and ceph.snapset, copying content to a new file, and setting those attrs. this let backfill proceed, although the user object is damaged (lost attrs)

Actions

Also available in: Atom PDF