]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: ObjectContext allows the hobject_t to be std::moved in ctor.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 15 Mar 2021 19:56:43 +0000 (19:56 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 10 May 2021 16:01:32 +0000 (18:01 +0200)
commit43966de10cf5bff75568f564ed007456e55b712a
treed5574efae3273a7d30a72fb545e2669d43f3b8a6
parentb2961801468758d7065ff118501b42ad06305ea5
crimson/osd: ObjectContext allows the hobject_t to be std::moved in ctor.

Taken with "crimson/osd: use obc->get_oid() instead of passing
hobject_t around" and enriched with the move-constructing down
the `ObjectState` path this should allows to save some work in
e.g. `std::string` instances that are part of the `hobject_t`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/object_context.h