Project

General

Profile

Feature #40121

mds: count purge queue items left in journal

Added by Zhi Zhang almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

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

Description

MDS purge queue didn't have a perf counter to record how many items still left in journal. Even when MDS restarted, there was no any hint to know how many inodes haven't been really deleted from disks, so it is not easy to monitor disk usage, do flow control, etc.

Now we add a new perf counter called "l_pq_item_in_journal". Although it is an approximation value, I think we can tolerate with this and also it doesn't need to be precise.

History

#1 Updated by Zhi Zhang almost 5 years ago

  • Pull request ID set to 28376

#2 Updated by Patrick Donnelly almost 5 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Zhi Zhang
  • Target version set to v15.0.0

#3 Updated by Patrick Donnelly almost 5 years ago

  • Status changed from Fix Under Review to Resolved
  • Start date deleted (06/04/2019)

Also available in: Atom PDF