]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Simplify blocklist tracking and interface
authorGreg Farnum <gfarnum@redhat.com>
Mon, 1 Nov 2021 23:52:53 +0000 (23:52 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 13 Apr 2022 00:14:15 +0000 (00:14 +0000)
commit5f57daedc9550aaeb8b55e2c8dc71b6f27372e84
tree5f6f9632c8eadfd368a72628a1ddc824c7ff73df
parented556e6bc97a7585da2b219e7756ba9013675d67
client: Simplify blocklist tracking and interface

I'm not sure if the blocklist events tracking in Client.cc was ever
the simplest way to track that state, but it definitely isn't now. We
can just hand our addr_vec to the OSDMap and ask it -- it handles
version compatibility issues and, happily, means the Client doesn't
need to learn to deal with ranges directly.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/client/Client.cc