]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: use return value from discover_all_missing
authorSage Weil <sage@redhat.com>
Thu, 22 Aug 2019 15:19:25 +0000 (10:19 -0500)
committerSage Weil <sage@redhat.com>
Mon, 9 Sep 2019 16:22:11 +0000 (11:22 -0500)
commit76b5a0022d4734607543c85b6c7e2323da3892eb
tree22bfe04c72fbef498c350ecab75207170dd879fd
parent61bf8f409a79f10fe0526e554fc7a4cd4d4b7cdc
osd/PeeringState: use return value from discover_all_missing

Right now we tell whether discover_all_missing did something by looking
at whether query_map is empty. Instead, use an explicit return value.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PeeringState.cc
src/osd/PeeringState.h