Project

General

Profile

Feature #43423

mds: collect and show the dentry lease metric

Added by Xiubo Li over 4 years ago. Updated over 3 years ago.

Status:
Resolved
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 CephFS - Feature #24285: mgr: add module which displays current usage of file system (`fs top`) Resolved
Related to Linux kernel client - Feature #43215: kclient: send usage metrics to MDS Resolved

History

#1 Updated by Xiubo Li over 4 years 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 over 4 years ago

  • Tracker changed from Bug to Feature

#4 Updated by Xiubo Li over 4 years ago

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

#5 Updated by Xiubo Li over 4 years ago

#6 Updated by Patrick Donnelly about 4 years ago

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

#7 Updated by Xiubo Li about 4 years 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 about 4 years ago

  • Status changed from In Progress to Fix Under Review

#9 Updated by Patrick Donnelly about 4 years 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 almost 4 years ago

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

#11 Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF