]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: do not use do_with() for capturing target pg_shards
authorKefu Chai <kchai@redhat.com>
Thu, 17 Dec 2020 03:38:19 +0000 (11:38 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 17 Dec 2020 11:35:32 +0000 (19:35 +0800)
commit2254c24dc5892162f8bc1e73dfbb9a756d25085d
tree306310fdfd6da123483fac7b4dec966b6064f5f9
parenta99400e721f2387d04e8e0ac4fbf10e195520413
crimson/osd: do not use do_with() for capturing target pg_shards

it's perfectly fine to check for empty, and pass it to
seastar::parallel_for_each().

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