]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMapMapping: fix spurious threadpool timeout errors 44545/head
authorSage Weil <sage@newdream.net>
Mon, 6 Dec 2021 18:12:50 +0000 (13:12 -0500)
committerCory Snyder <csnyder@iland.com>
Tue, 11 Jan 2022 20:33:53 +0000 (15:33 -0500)
commitd07efdf464e814ec710798ecb34ce8b360481daf
tree82a243b6c1d6ef71179db1637de2bd7f6661ad5d
parent24e18cd04eeb9a4d111bcb1511987420e029bd3c
osd/OSDMapMapping: fix spurious threadpool timeout errors

We were passing a grace of zero seconds to our temporary work queue, which
led to the HeartbeatMap issuing cpu_tp timeout errors to the log.  By using
a non-zero grace period we can avoid these.  Use the same default grace
we use for the workqueue itself when it goes to sleep.

Fixes: https://tracker.ceph.com/issues/53506
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 30ac5e79352839e285ec2eef6d603226d9071db4)
src/common/WorkQueue.cc
src/osd/OSDMapMapping.h