]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
TrackedOp: Make history_slow_op_threshold a float 52636/head
authorJoshua Baergen <jbaergen@digitalocean.com>
Mon, 24 Jul 2023 16:36:21 +0000 (10:36 -0600)
committerJoshua Baergen <jbaergen@digitalocean.com>
Mon, 31 Jul 2023 18:34:07 +0000 (12:34 -0600)
commit1d99222ffce05265e13d9db69411d60de98378d9
tree5bb37dc6b56e9bb02434dbb9b20b39a86d221dc3
parent86b36a132dfee795ee579842ed1b5fa7b3a1eea7
TrackedOp: Make history_slow_op_threshold a float

It's already the case that osd_op_history_slow_op_threshold as well as
the computed op duration are floating-point, but we were losing this
precision within OpHistory.

Fixes: https://tracker.ceph.com/issues/62169
Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
src/common/TrackedOp.cc
src/common/TrackedOp.h