]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: to print the unknow type value 42088/head
authorXiubo Li <xiubli@redhat.com>
Mon, 7 Jun 2021 06:09:27 +0000 (14:09 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 29 Jun 2021 06:06:13 +0000 (14:06 +0800)
commit7b7840d5e351447ebdd48e017aaf65182970f930
tree7a8cef937d7a6955356521825acf6234ca25538c
parent946a2fe160d3bad04cb5dcfebfc160efb3d3ccd1
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>
(cherry picked from commit 562ba7877360226bbf09b33a9b0c5664c8d81c12)

Conflicts:
src/include/cephfs/metrics/Types.h
- Fixed minor conflict when printing the "client_metric_type".
src/include/cephfs/metrics/Types.h
src/mds/MetricsHandler.cc