]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: use scope_guard to log latency
authorKefu Chai <tchaikov@gmail.com>
Wed, 22 Sep 2021 16:42:33 +0000 (00:42 +0800)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 10 Feb 2022 14:33:30 +0000 (17:33 +0300)
commit007ee4f031c9630522cdf9e6df732d8cb0a1a424
tree92656e9010613007225a8e5d542a42913f0c515b
parent541b3b9b7d1ac8b72c10f785bed4dc043b5d7c8d
os/bluestore: use scope_guard to log latency

simpler this way, and avoid using `goto`.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 715a83822ebc1a3d102d1ec13323b69db0600719)
src/os/bluestore/BlueStore.cc