]> 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>
Wed, 13 Apr 2022 00:14:16 +0000 (00:14 +0000)
commit9c5e21a685b58e4be0360279d9d22efd513edab2
tree811d735dead66b7a6a1d22b6c0a816d820185a94
parent73a1f1b51e586ff7476ff4f4c1682abd0a317074
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>
src/mds/MDSRank.cc
src/mon/OSDMonitor.cc
src/osd/OSD.cc
src/osd/OSDMap.cc
src/osd/OSDMap.h
src/osdc/Objecter.cc