]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds/MDCache: avoid using static variables in check_memory_usage
authorSamuel Just <sjust@redhat.com>
Thu, 25 Jan 2024 21:48:55 +0000 (13:48 -0800)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 18 Jun 2024 11:35:31 +0000 (06:35 -0500)
commit7752ceed3ca532e0b1c86ad6a7322dd6bc0f986d
treefd85aa30ba30e415e4e45df8c081533bb8ac2686
parenta6e2a7c53dc21928aaa3a051833d3a09de3bc7d0
mds/MDCache: avoid using static variables in check_memory_usage

We're going to add this functionality to other components, simplify
this one first to match.

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Shreekara <sshreeka@redhat.com>
(cherry picked from commit f337bdac62cbf606082ba46893430f14d1d91077)
src/mds/MDCache.cc
src/mds/MDCache.h