Project

General

Profile

Feature #19578

mds: optimize CDir::_omap_commit() and CDir::_committed() for large directory

Added by Zheng Yan almost 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/11/2017
Due date:
% Done:

0%

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

Description

CDir::_omap_commit() and CDir::_committed() need to traverse whole dirfrag to find dirty dentries. It's not efficiency for large directory


Related issues

Copied to fs - Backport #22563: luminous: mds: optimize CDir::_omap_commit() and CDir::_committed() for large directory Resolved

History

#1 Updated by Zheng Yan almost 2 years ago

We can track dirty dentries in a dirty list, CDir::_omap_commit() and CDir::_committed() only needs to check dentries in the dirty list.

#2 Updated by Zheng Yan over 1 year ago

this should help large directory performance

#3 Updated by Zheng Yan over 1 year ago

  • Status changed from New to Need Review

#4 Updated by Patrick Donnelly about 1 year ago

  • Subject changed from optimize CDir::_omap_commit() and CDir::_committed() for large directory to mds: optimize CDir::_omap_commit() and CDir::_committed() for large directory
  • Status changed from Need Review to Pending Backport
  • Assignee set to Zheng Yan
  • Backport set to luminous

#5 Updated by Zheng Yan about 1 year ago

  • Copied to Backport #22563: luminous: mds: optimize CDir::_omap_commit() and CDir::_committed() for large directory added

#6 Updated by Patrick Donnelly about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF