]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: do not use do_with() unless necessary
authorKefu Chai <kchai@redhat.com>
Tue, 15 Dec 2020 08:40:44 +0000 (16:40 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 15 Dec 2020 09:15:17 +0000 (17:15 +0800)
commitfeea66b30b0fc6f14dc921edd041920bc89b2d60
treeba125f099dd1ae383c6d07843f71e85d914c7241
parente683404caf8446a8f07a8e009d1255b92b07f75c
crimson/osd: do not use do_with() unless necessary

in this change, a seastar::do_with() is removed, as the captured
variables are passed to submit_push_data() by value. so no need to keep
them alive after the call.

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