From: Patrick Donnelly Date: Mon, 26 Aug 2019 21:39:30 +0000 (-0700) Subject: mds: recall caps from quiescent sessions X-Git-Tag: v14.2.8~20^2~68^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=68e2be7ea659004224012a5dd13e7215fe57bfff;p=ceph.git mds: recall caps from quiescent sessions This introduces two new config options [1,2] that dictate when a session is considered quiescent by the MDS. (Options are documented fully in options.cc.) When a session is quiescent, the MDS will preemptively recall caps to reduce the outstanding capabilities which optimizes for reducing work during failover. [1] mds_session_cache_liveness_magnitude [2] mds_session_cache_liveness_decay_rate Fixes: https://tracker.ceph.com/issues/22446 Signed-off-by: Patrick Donnelly (cherry picked from commit 740f6f99a1d23e281059725b6478c91e91b1c67c) --- diff --git a/src/common/options.cc b/src/common/options.cc index 22691b9ddac..43055652ded 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7648,6 +7648,18 @@ std::vector