]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: provide a different name for fallback allocator 37794/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 14 Sep 2020 20:28:42 +0000 (23:28 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 30 Nov 2020 23:10:31 +0000 (02:10 +0300)
commite89cf823c761fad8e71199725c65ec4d6bb99d9b
tree5a5baec3e1d58235c83ec0bd32903f2b99b75e37
parent99e6b831071d29bb706a592c1ea8a5b518092375
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>
(cherry picked from commit b0866b60461b06e6563cad47d0ad3ce9302114f5)
src/os/bluestore/HybridAllocator.cc