]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: provide a different name for fallback allocator 37149/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 14 Sep 2020 20:28:42 +0000 (23:28 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 14 Sep 2020 20:28:42 +0000 (23:28 +0300)
commitb0866b60461b06e6563cad47d0ad3ce9302114f5
tree66a4c76c837727cf431bfd88ca57bb90e382a6c2
parentb15dadac703b25fca9fbbd4e141c1e0094d3202c
os/bluestore: provide a different name for fallback allocator

Originally primary Hybrid allocator provided its own name when creating a
secondary fallback allocator. This resulted in duplicate admin socket
command registrations for both allocator. Registration return code was
ignored and henoe nobody was aware of the issue. Nautilus might suffer
from the issue though since it asserts on command deregistration failure.
And duplicate name causes such a failure for the secode
unregister_command() call.

Fixes: https://tracker.ceph.com/issues/47443
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/os/bluestore/HybridAllocator.cc