]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon,mgr: std::move(osd_stat) when possible
authorKefu Chai <kchai@redhat.com>
Sat, 20 May 2017 05:11:23 +0000 (13:11 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 24 May 2017 17:16:10 +0000 (01:16 +0800)
commit983fe8ec888b998cee33680390173fe6636574f3
tree07f47d95131ce5fb19ae74acbb2fbd6c13feaab4
parent9dd2bc897477df6acc10c2bad55b8468c9dbc7c5
mon,mgr: std::move(osd_stat) when possible

osd_stat_t could be a relatively large struct, so use std::move() when
possible

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mgr/ClusterState.cc
src/mon/PGMap.h
src/mon/PGMonitor.cc