]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: output lock state in format dump 28233/head
authorZhi Zhang <willzzhang@tencent.com>
Thu, 9 May 2019 09:07:24 +0000 (17:07 +0800)
committerPrashant D <pdhange@redhat.com>
Thu, 23 May 2019 23:11:10 +0000 (19:11 -0400)
commit749cca3f1152dbc6f2b15a080934ac8623002297
tree8ae04ced1f9db08cc2e548b6b52bd87057f41e8e
parentdea32deea573d7bcfc44c3052fc6e57aaac3ea4e
mds: output lock state in format dump

dump cache in plain text will print lock state. But in json format dump,
it won't. It is not convenient to debug some MDS lock issues without
such information.

Fixes: http://tracker.ceph.com/issues/39645
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit 751289118eaffb4906826ead68f19c5e55c1e4fe)
src/mds/SimpleLock.cc