]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD: rewrite build_incremental_map_msg() 54498/head
authorMatan Breizman <mbreizma@redhat.com>
Sun, 19 Nov 2023 15:19:29 +0000 (15:19 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 18 Dec 2023 14:38:57 +0000 (14:38 +0000)
commit58dc60e790212e61b9880fd68163c78fde764c69
tree7d86640190e19f07d3576af3935b50be4defb1a0
parent54505d524410a3562186c3c3b31ddd96afe4ccc3
osd/OSD: rewrite build_incremental_map_msg()

* use lambda to maintain size limits.
* avoid copying by std::move the bl into the message.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/osd/OSD.cc