diff options
author | Samuel Just <sam.just@inktank.com> | 2013-07-29 09:29:00 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-07-29 12:49:09 -0700 |
commit | f1bd4e5bdf4fc9473c1762533aab61ac2dbe64d5 (patch) | |
tree | a302f65ec5cff4e4cc32caf95a97f7427cd69406 | |
parent | a6cd9fea50a4bd7048a222617a2bfe0680f7a969 (diff) | |
download | ceph-f1bd4e5bdf4fc9473c1762533aab61ac2dbe64d5.tar.gz |
WorkQueue: fix bracing on reset_tp_timeout
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/common/WorkQueue.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/WorkQueue.cc b/src/common/WorkQueue.cc index a40200a68bd..a57c0782030 100644 --- a/src/common/WorkQueue.cc +++ b/src/common/WorkQueue.cc @@ -49,7 +49,8 @@ ThreadPool::ThreadPool(CephContext *cct_, string nm, int n, const char *option) } } -void ThreadPool::TPHandle::reset_tp_timeout() { +void ThreadPool::TPHandle::reset_tp_timeout() +{ cct->get_heartbeat_map()->reset_timeout( hb, grace, suicide_grace); } |