]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: output lock state in format dump 27717/head
authorZhi Zhang <willzzhang@tencent.com>
Thu, 9 May 2019 09:07:24 +0000 (17:07 +0800)
committerZhi Zhang <willzzhang@tencent.com>
Thu, 9 May 2019 09:07:24 +0000 (17:07 +0800)
commit751289118eaffb4906826ead68f19c5e55c1e4fe
treeef2e675880bf11dacbf2a28a6340c15bbc016879
parent24e7c39d113455b57f617a3a8195c33332e3522c
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>
src/mds/SimpleLock.cc