]> 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)
committerKefu Chai <tchaikov@gmail.com>
Tue, 28 Sep 2021 14:45:10 +0000 (22:45 +0800)
commit715a83822ebc1a3d102d1ec13323b69db0600719
treead38f222acf7241231cad19097a86b52bb28fa3c
parenta24b3fa949d1b5acbbc10d45ea4ed80fa37eaeb5
os/bluestore: use scope_guard to log latency

simpler this way, and avoid using `goto`.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/os/bluestore/BlueStore.cc