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>
crush->max_devices = name_map.rbegin()->first + 1;
}
have_uniform_rules = !has_legacy_rule_ids();
+ build_rmaps();
}
int bucket_set_alg(int id, int alg);