]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages/MOSDPGNotify: add a ctor for moving pg_list
authorKefu Chai <kchai@redhat.com>
Tue, 26 Feb 2019 08:39:41 +0000 (16:39 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 16 Mar 2019 06:22:59 +0000 (14:22 +0800)
commitb99d2d85fe96ab25a03f708c612a1c867e775dc7
tree7e644f67e771ce47a73f3637ec9b7e5b4b151221
parentca7e68951dd007fb84a693d8e30bf2c1a4246b00
messages/MOSDPGNotify: add a ctor for moving pg_list

* use delegating constructor for less repeating
* add a constructor for movable pg_list parameter: less memcpy().

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/messages/MOSDPGNotify.h
src/osd/OSD.cc