Project

General

Profile

Actions

Feature #40121

closed

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.

Actions

Also available in: Atom PDF