]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: fix dump_mds_requests to valid json format
authorhaoyixing <haoyixing03@kuaishou.com>
Wed, 22 Oct 2025 11:24:18 +0000 (11:24 +0000)
committerJos Collin <jcollin@redhat.com>
Fri, 7 Nov 2025 09:00:57 +0000 (14:30 +0530)
commitffdb24d0015f07a7aa9c6e727a536e706d2d1e5d
tree138873d75f9efad08fe03431157b7a8bcce457cc
parent9dfebec88f893b1b30e889db33d672c5c6ee9bef
client: fix dump_mds_requests to valid json format

Usually asok command output will be valid json, but mds_requests
outputs duplicate key "request", which is not convenient for
subsequent parsing.

Fixes: http://tracker.ceph.com/issues/73639
Signed-off-by: haoyixing <haoyixing03@kuaishou.com>
(cherry picked from commit 326fb6107bede3b123e2c8b1a08db123becc161e)
src/client/Client.cc