]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
heartbeatmap: fix reset_timeout with mixed-used threads
authorSage Weil <sage@newdream.net>
Mon, 29 Aug 2011 22:02:37 +0000 (15:02 -0700)
committerSage Weil <sage@newdream.net>
Mon, 29 Aug 2011 22:02:46 +0000 (15:02 -0700)
commit853658e9f1a040fb0a0f262433203d9da92c689f
tree9ab9de9bb39fdce47cf93c7ead6d81795497cd7f
parentf8296ef55050c45e8070acd5b697f893234f9f44
heartbeatmap: fix reset_timeout with mixed-used threads

If you have a ThreadPool used by multiple WorkQueues, and some of them are
setting a suicide timeout, we need to clear it when a suicide timeout is
not set.

Signed-off-by: Sage Weil <sage@newdream.net>
src/common/HeartbeatMap.cc