]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: add mgr_subinterpreter_modules config
authorSamuel Just <sjust@redhat.com>
Fri, 7 Nov 2025 23:56:14 +0000 (23:56 +0000)
committerSamuel Just <sjust@redhat.com>
Tue, 27 Jan 2026 00:29:03 +0000 (00:29 +0000)
commit239b0dc8a9c42449ee1faa1bf78bdcc380345ae2
tree011ba705d231ac3d92eb5bf4e03610e57ecb64fd
parentd4a1f2b117a7eeb966ba8072f38d291c00e4a5e5
mgr: add mgr_subinterpreter_modules config

This commit adds a mgr_subinterpreter_modules config to cause specified
modules (or all if * is specified) to be loaded in individual
subinterpreters.

This changes the default behavior of ceph-mgr from running each module
in a distinct subinterpreter to running them all in the same main
interpreter.  We can reintroduce subinterpreter support over time by
adding modules to the list as we test them.

Fixes: https://tracker.ceph.com/issues/73857
Fixes: https://tracker.ceph.com/issues/73859
Signed-off-by: Samuel Just <sjust@redhat.com>
src/common/options/CMakeLists.txt
src/common/options/mgr.yaml.in
src/mgr/PyModule.cc
src/mgr/PyModule.h