Project

General

Profile

Feature #43423

mds: collect and show the dentry lease metric

Added by Xiubo Li 8 months ago. Updated 2 months ago.

Status:
Fix Under Review
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

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

Description

Kclient will collect the dentry lease metric and send it to the MDS, currently this hasn't been shown in the perf stats.


Related issues

Related to fs - Feature #24285: mgr: add module which displays current usage of file system (`fs top`) Fix Under Review
Related to Linux kernel client - Feature #43215: kclient: send usage metrics to MDS Resolved

History

#1 Updated by Xiubo Li 8 months ago

Locally the patch is ready, but depend on https://github.com/ceph/ceph/pull/26004, which hasn't been merged yet.

# ./bin/ceph fs perf stats | python -m json.tool
{
    "client_metadata": {
        "client.4273": {
            "IP": "v1:192.168.195.165",
            "hostname": "fedora1",
            "mount_point": "N/A",
            "root": "/" 
        }
    },
    "counters": [
        "cap_hit" 
    ],
    "global_counters": [
        "read_latency",
        "write_latency",
        "metadata_latency",
        "dentry_lease_hit" 
    ],
    "global_metrics": {
        "client.4273": [
            [
                0,
                0
            ],
            [
                0,
                0
            ],
            [
                0,
                0
            ],
            [
                41,
                0
            ]
        ]
    },
    "metrics": {
        "delayed_ranks": [],
        "mds.0": {
            "client.4273": [
                [
                    171,
                    1
                ]
            ]
        }
    }
}

#2 Updated by Xiubo Li 8 months ago

  • Tracker changed from Bug to Feature

#4 Updated by Xiubo Li 8 months ago

  • Related to Feature #24285: mgr: add module which displays current usage of file system (`fs top`) added

#5 Updated by Xiubo Li 8 months ago

#6 Updated by Patrick Donnelly 7 months ago

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

#7 Updated by Xiubo Li 7 months ago

Patches are ready and waiting for the depending PR [1] to be merged.

[1] https://github.com/ceph/ceph/pull/26004

#8 Updated by Xiubo Li 7 months ago

  • Status changed from In Progress to Fix Under Review

#9 Updated by Patrick Donnelly 7 months ago

  • Status changed from Fix Under Review to In Progress
  • Target version changed from v15.0.0 to v16.0.0

#10 Updated by Xiubo Li 2 months ago

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

Also available in: Atom PDF