]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMapMapping: fix spurious threadpool timeout errors 44225/head
authorSage Weil <sage@newdream.net>
Mon, 6 Dec 2021 18:12:50 +0000 (13:12 -0500)
committerSage Weil <sage@newdream.net>
Mon, 6 Dec 2021 18:13:06 +0000 (13:13 -0500)
commit30ac5e79352839e285ec2eef6d603226d9071db4
tree7ca542e4a3cee79d182d8ad6af994345dd756939
parentcf829d02b247c5be5841331422517c2b376f2bb2
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>
src/common/WorkQueue.cc
src/osd/OSDMapMapping.h