]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: to print the unknow type value 41723/head
authorXiubo Li <xiubli@redhat.com>
Mon, 7 Jun 2021 06:09:27 +0000 (14:09 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 8 Jun 2021 01:09:02 +0000 (09:09 +0800)
commit562ba7877360226bbf09b33a9b0c5664c8d81c12
tree5cec1960add80e0421082a0985e268abe7595f54
parentcf8814d3165a0b29e3695ccaf09f529d15737bef
mds: to print the unknow type value

Initialize the metric type when constructing the XXXPayload class,
and add one common base Payload class to simplify the code.

Fixes: https://tracker.ceph.com/issues/51113
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/include/cephfs/metrics/Types.h
src/mds/MetricsHandler.cc