]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/HeartbeatMap: print stack info of unhealth thread.
authorJianpeng Ma <jianpeng.ma@intel.com>
Thu, 5 May 2016 10:14:40 +0000 (18:14 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Thu, 5 May 2016 10:14:40 +0000 (18:14 +0800)
commitc90ccbf227c9b822a6ffb4bfba9716a978d2b34f
treecabc7c62e3aa1a3bf289b68c215ccbb97fb89d70
parentd6e96d61c4a12fabf9fa533f93038634271529c5
common/HeartbeatMap: print stack info of unhealth thread.

We use heartbeatmap to detect thread whether health. If timeout over
suicide of thread, we assert osd. But now we assert the check-thread of
heartbeatmap rather than unhealth thread.
We hope dump stack info of unhealth thread to find usefull info.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/common/HeartbeatMap.cc
src/common/HeartbeatMap.h
src/common/WorkQueue.cc
src/mds/MDSRank.cc
src/test/heartbeat_map.cc