]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: Always tune priority cache manager memory on all mons 34916/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Wed, 29 Apr 2020 14:02:35 +0000 (19:32 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Wed, 6 May 2020 08:02:17 +0000 (13:32 +0530)
commit6cf43894d49dd1602f450bde4688a34318e260e3
tree18eb2de91bc4aaee2c457403c228f677aa2c938b
parent0f09dfe4221f745bc6e4d5af44f1d7e447eab64f
mon/OSDMonitor: Always tune priority cache manager memory on all mons

Always call into priority cache manager (pcm) to tune the memory on the
leader and on all the followers (peons) as part of each tick(). This
ensures that the pcm on all the mons continuously tunes the tcmalloc
memory thereby ensuring that the peons don't run out of memory eventually.

Fixes: https://tracker.ceph.com/issues/45266
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 5083e21192c3cfdec274c8bafdc4d73e7c843af9)
src/mon/OSDMonitor.cc