Project

General

Profile

Feature #43435

kclient:send client provided metric flags in client metadata

Added by Xiubo Li 3 months ago. Updated 3 months ago.

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

0%

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

Description

This will send the kclient provided metric flags to the MDS server.


Related issues

Related to fs - Bug #43251: mds: track client provided metric flags in session Resolved
Related to fs - Feature #43215: kclient: send usage metrics to MDS Fix Under Review

History

#1 Updated by Xiubo Li 3 months ago

  • Status changed from New to In Progress

#2 Updated by Xiubo Li 3 months ago

  • Tracker changed from Bug to Feature

#3 Updated by Xiubo Li 3 months ago

  • Related to Bug #43251: mds: track client provided metric flags in session added

#4 Updated by Xiubo Li 3 months ago

#5 Updated by Xiubo Li 3 months ago

#6 Updated by Xiubo Li 3 months ago

  • Related to deleted (Feature #43215: kclient: send usage metrics to MDS)

#7 Updated by Xiubo Li 3 months ago

Patch is ready and the test output is:

# ./bin/cephfs-journal-tool --rank=a:0 event get --type=SESSION json

# cat dump
[...]

 40     {
 41         "client instance": "client.4303 v1:192.168.195.165:0/2770806420",
 42         "open": "true",
 43         "client map version": 205,
 44         "inos": "[]",
 45         "inotable version": 0,
 46         "client_metadata": {
 47             "client_features": {
 48                 "feature_bits": "0000000000001bff" 
 49             },
 50             "metric_spec": {
 51                 "metric_flags": {
 52                     "feature_bits": "0000000000000011" 
 53                 }
 54             },
 55             "entity_id": "",
 56             "hostname": "fedora1",
 57             "kernel_version": "5.5.0-rc2+",
 58             "root": "/" 
 59         }
 60     },    
[...]

#8 Updated by Xiubo Li 3 months ago

  • Status changed from In Progress to Fix Under Review

Under review in V2's "[Patch v2 8/8] ceph: send client provided metric flags in client metadata"

https://patchwork.kernel.org/project/ceph-devel/list/?series=225271

Also available in: Atom PDF