Project

General

Profile

Feature #40121

mds: count purge queue items left in journal

Added by Zhi Zhang 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
Start date:
Due date:
% 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 3 months ago

  • Pull request ID set to 28376

#2 Updated by Patrick Donnelly 3 months ago

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

#3 Updated by Patrick Donnelly 3 months ago

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

Also available in: Atom PDF