Project

General

Profile

Actions

Bug #48651

closed

xfstest generic/020 failure

Added by Jeff Layton over 3 years ago. Updated almost 2 years ago.

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

0%

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

Description

xfstest generic/020 started failing sometimes. The test tries to set a really large xattr, and then fails with ENOSPC. This is deliberate by the MDS:

    if (((cur_xattrs_size + inc) > g_conf()->mds_max_xattr_pairs_size)) {                           
      dout(10) << "xattr kv pairs size too big. cur_xattrs_size "                                   
        << cur_xattrs_size << ", inc " << inc << dendl;                                             
      respond_to_request(mdr, -ENOSPC);                                                             
      return;                                                                                       
    }                                                                                               

That conf value defaults to 64k.

The issue here is that it doesn't always fail. If we have Xx caps then we can (and do) buffer the xattr change.

Actions

Also available in: Atom PDF