]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: pass vector<pg_shard_t> for recovery
authorKefu Chai <kchai@redhat.com>
Mon, 14 Dec 2020 15:26:45 +0000 (23:26 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 14 Dec 2020 17:47:17 +0000 (01:47 +0800)
commitc65426d1a36e6bb30d548c2f28d2a4ed29160d8a
tree45b137d8284bc8bae2ae44ca9bf44281fa6cf36a
parenta8b518917759ee2e031408e485d0161499208f03
crimson/osd: pass vector<pg_shard_t> for recovery

std::list<std::map<pg_shard_t, pg_missing_t>::const_iterator> is
difficult to parse and understand. and what we need is no more than a
collection of pg_shard_t here. we do the look in
ReplicatedRecoveryBackend::prep_push() again anyway.

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