]> 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)
committerNeha Ojha <nojha@redhat.com>
Tue, 12 Oct 2021 21:10:55 +0000 (21:10 +0000)
commitbe9db160b8766c23c262e27ee181458dc7b2782d
tree5d50c0bb86c1c680006b238ebd0322e044dbf3a0
parentc84f167a8bf604319b93c3226e189ba87c88cd7b
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