]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crush/CrushWrapper: rebuild reverse maps after rebuilding crush map
authorJason Dillaman <dillaman@redhat.com>
Tue, 14 Jul 2020 22:49:30 +0000 (18:49 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 14 Jul 2020 22:50:25 +0000 (18:50 -0400)
commit8b866794f5b3674c5e3ad9adceb5e3230d55a0e0
treedded3c3a13b6f7bf39623247fba11eb49ec5c0d1
parent980c286ce9b757985846261f2c377571fb1cd59e
crush/CrushWrapper: rebuild reverse maps after rebuilding crush map

The Objecter will crash when localized reads are enabled and two threads
attempt to rebuild the (invalidated) reverse maps concurrently. This
should address the issue for the Objecter use-case without the need to
add additional locking.

Fixes: https://tracker.ceph.com/issues/44311
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/crush/CrushWrapper.h