Project

General

Profile

Feature #47148

mds: get rid of the mds_lock when storing the inode backtrace to meta pool

Added by Xiubo Li 5 months ago. Updated 3 months ago.

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

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

The objector->mutate() may take a long time to finish. We can get rid of the mds_lock when doing this.


Related issues

Related to CephFS - Bug #47981: mds: count error of modified dentries Resolved
Related to CephFS - Tasks #48620: mds: break the mds_lock or get rid of the mds_lock for some code In Progress

History

#1 Updated by Xiubo Li 5 months ago

  • Status changed from New to In Progress

#2 Updated by Patrick Donnelly 5 months ago

  • Target version set to v16.0.0
  • Source set to Development

#3 Updated by Xiubo Li 5 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36912

#4 Updated by Xiubo Li 5 months ago

Currently will queue some encoding excepting the encodings which need to access the CDir/CInode members in the finisher. And also all the related mutate().

#5 Updated by Patrick Donnelly 4 months ago

  • Status changed from Fix Under Review to Resolved

#6 Updated by Nathan Cutler 3 months ago

  • Related to Bug #47981: mds: count error of modified dentries added

#7 Updated by Nathan Cutler 3 months ago

Allegedly the fix for this issue introduced a regression, #47981.

That being the case, this fix should be backported together with the fix for #47981.

#8 Updated by Xiubo Li about 1 month ago

  • Related to Tasks #48620: mds: break the mds_lock or get rid of the mds_lock for some code added

Also available in: Atom PDF