]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSDMonitor: Make sure pcm is initialised 63804/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:34:41 +0000 (12:34 +1000)
commit9e38418218a0b26905050c9e0046344848ed796b
tree8268df2078583f025b9a9d54c9634d144bc9f0ec
parent1b21ed7661634b2ea2606510e060db9510ab9a63
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