Project

General

Profile

Actions

Bug #47981

closed

mds: count error of modified dentries

Added by Erqi Chen over 3 years ago. Updated over 3 years 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 (v1):
Crash signature (v2):

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 3 (0 open3 closed)

Related to CephFS - Feature #47148: mds: get rid of the mds_lock when storing the inode backtrace to meta poolResolvedXiubo Li

Actions
Copied to CephFS - Backport #48089: nautilus: mds: count error of modified dentriesRejectedActions
Copied to CephFS - Backport #48090: octopus: mds: count error of modified dentriesRejectedActions
Actions

Also available in: Atom PDF