Project

General

Profile

Bug #47981

mds: count error of modified dentries

Added by Erqi Chen 3 months ago. Updated 2 months ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature:

Description

Head and snap items should be added to count modified dentries in fragmenting new dir´╝îrather than logical and.

if (state_test(CDir::STATE_FRAGMENTING) && is_new()) {  
    count = get_num_head_items() && get_num_snap_items();
} else {

Related issues

Related to CephFS - Feature #47148: mds: get rid of the mds_lock when storing the inode backtrace to meta pool Resolved
Copied to CephFS - Backport #48089: nautilus: mds: count error of modified dentries Rejected
Copied to CephFS - Backport #48090: octopus: mds: count error of modified dentries Rejected

History

#1 Updated by Patrick Donnelly 3 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Erqi Chen
  • Target version set to v16.0.0
  • Source set to Community (dev)

#2 Updated by Patrick Donnelly 3 months ago

  • Subject changed from count error of modified dentries to mds: count error of modified dentries
  • Status changed from Fix Under Review to Pending Backport
  • Backport set to octopus,nautilus

#3 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #48089: nautilus: mds: count error of modified dentries added

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #48090: octopus: mds: count error of modified dentries added

#5 Updated by Nathan Cutler 2 months ago

  • Related to Feature #47148: mds: get rid of the mds_lock when storing the inode backtrace to meta pool added

#6 Updated by Nathan Cutler 2 months ago

Allegedly fixes a regression introduced by (the fix for) #47148, which is not currently slated for backport.

#7 Updated by Nathan Cutler 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF