Project

General

Profile

Actions

Bug #351

closed

mds: fix cow on xattrs

Added by Sage Weil over 13 years ago. Updated over 7 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

in MDCache::cow_inode(),

  oldin->inode = *in->get_previous_projected_inode();
  oldin->symlink = in->symlink;
  oldin->xattrs = in->xattrs;   <---- THIS

should get get_previous_projected_xattrs(), which needs to be implemented intelligently in CInode (like get_projected_xattrs(), but a bit tricky)

Actions

Also available in: Atom PDF