]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: release free heap pages after trim 31793/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 21 Nov 2019 18:09:39 +0000 (10:09 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 21 Nov 2019 18:54:34 +0000 (10:54 -0800)
commitaf4cac5ec7bab4e5bf8936cd685f6ee8dcb38127
treefb97575fb9e093e91ae7defb04e7fa0c38ed9de5
parent3a46ada7138007ca957c1f3f6048d76db3503ff9
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>
src/common/options.cc
src/mds/MDCache.cc
src/mds/MDCache.h