]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: replace get_peer_info() in BackfillState::PGFacade.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 13 Jul 2020 12:23:49 +0000 (14:23 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 1 Dec 2020 12:20:15 +0000 (13:20 +0100)
commit649e83e2ec4cda85f686dcd5ff19913c15d258d4
tree81f8051220f26bd17c31738efa9c0766902c8bed
parent1523bf9bdba3b2ee28f48788f91fd89f09fbed6c
crimson/osd: replace get_peer_info() in BackfillState::PGFacade.

`get_peer_info()` gets replaced with `get_peer_last_backfill()`.
The benefit is no need to mock peer's `pg_info_t` in unit test.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/backfill_facades.h
src/crimson/osd/backfill_state.cc