]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: let object_info_t() decode const bufferlist. 39164/head
authorKefu Chai <kchai@redhat.com>
Tue, 2 Feb 2021 09:37:46 +0000 (17:37 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Feb 2021 11:02:33 +0000 (19:02 +0800)
commit4e76cdb468b866a926f6a4b4f98e60573019ee12
treea12d422bbfbba22cd3ab289bbc026c1498f49ba0
parentcb76a62a91e469e0be963f80df493ba724c9c2c7
osd: let object_info_t() decode const bufferlist.

so we can decode a const bufferlist without creating a copy of it
beforehand.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/replicated_recovery_backend.cc
src/osd/PrimaryLogScrub.cc
src/osd/ReplicatedBackend.cc
src/osd/osd_types.h