]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdmap: convert get_blocklist() to provide the entity/IP and range blocklists
authorGreg Farnum <gfarnum@redhat.com>
Tue, 2 Nov 2021 00:38:50 +0000 (00:38 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Tue, 31 May 2022 23:30:20 +0000 (23:30 +0000)
commitb9eec41dde00f640e5f2a1ee1f61e19028bc69ba
treec1a76f304773e3a9b978fd14adc0b861c6b0188d
parent1b993ba06128ea0c3b521f217ad953f0c6e6255d
osdmap: convert get_blocklist() to provide the entity/IP and range blocklists

Providing a non-range-aware blocklist accessor would just be
asking for trouble, so don't.

The ugly part of this is how the Objecter is currently just
throwing the range blocklist on the end of its own list. The in-tree
callers are okay with this, and I'd like to look at removing the
blocklist events API from librados entirely -- it exposes "OSD-only"
state to clients and, as evidenced by this patch series, is not
particularly stable.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 9c5e21a685b58e4be0360279d9d22efd513edab2)
src/mds/MDSRank.cc
src/mon/OSDMonitor.cc
src/osd/OSD.cc
src/osd/OSDMap.cc
src/osd/OSDMap.h
src/osdc/Objecter.cc