]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushWrapper: rebuild reverse maps after rebuilding crush map 36662/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 14 Jul 2020 22:49:30 +0000 (18:49 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 15 Aug 2020 13:28:04 +0000 (15:28 +0200)
commit12878431ad1e1980ecc99581aa11b9371fb264ec
tree6e5129add57e2c067a1dc5b8e64788264cd263fd
parent35adebe94e8b0a17e7b56379a8bf24e5f7b8ced4
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>
(cherry picked from commit 8b866794f5b3674c5e3ad9adceb5e3230d55a0e0)
src/crush/CrushWrapper.h