From: Patrick Donnelly Date: Thu, 21 Nov 2019 18:09:39 +0000 (-0800) Subject: mds: release free heap pages after trim X-Git-Tag: v14.2.8~20^2~32^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=da45b4e7ca3a1c88c44424256c104b07710e9679;p=ceph.git 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 (cherry picked from commit af4cac5ec7bab4e5bf8936cd685f6ee8dcb38127) Conflicts: src/mds/MDCache.cc --- diff --git a/src/common/options.cc b/src/common/options.cc index cc10924dc511..02a909e57565 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7621,7 +7621,13 @@ std::vector