]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: release free heap pages after trim 31802/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 21 Nov 2019 18:09:39 +0000 (10:09 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 22 Nov 2019 04:05:01 +0000 (20:05 -0800)
commitda45b4e7ca3a1c88c44424256c104b07710e9679
tree86996ca685b40898e7a7369cf9e126a0a2ea71f2
parent9989c20373e2294b7479ec4bd6ac5cce80b01645
mds: release free heap pages after trim

MDS free heap space can grow to large for some workloads (like smallfile
and recursive deletes). This can cause the MDS mapped memory to grow
well beyond memory targets.

When we finally use the PriorityCache in the MDS, this will not be
necessary anymore as the PriorityCache already does this.

Fixes: https://tracker.ceph.com/issues/42938
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit af4cac5ec7bab4e5bf8936cd685f6ee8dcb38127)

Conflicts:
    src/mds/MDCache.cc
src/common/options.cc
src/mds/MDCache.cc
src/mds/MDCache.h