]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSDMonitor: Make sure pcm is initialised 63803/head
authorBrad Hubbard <bhubbard@redhat.com>
Wed, 26 Mar 2025 02:45:02 +0000 (12:45 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Mon, 9 Jun 2025 02:26:40 +0000 (12:26 +1000)
commitffae53310bdb3c8d91199d580c3a6497e9bfc946
treebc42dcef76c59bf801e122a52637f48ddcf3a715
parent156364791a288e17fa0345f59194d19ba744890a
OSDMonitor: Make sure pcm is initialised

If mon_memory_target is set in the config database and
mon_memory_autotune is left at default the mon_memory_target change can
be lost. Make sure _set_cache_autotuning() is explicity called any time
pcm related settings are changed.

Fixes: https://tracker.ceph.com/issues/70645
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit b3316073b0f64b4dc49b4fd959a7cbbb21b5778f)
src/mon/OSDMonitor.cc