From: Patrick Donnelly Date: Sun, 17 Feb 2019 05:19:03 +0000 (-0800) Subject: mds: output full details for recall threshold X-Git-Tag: v12.2.13~224^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f52f2cf809232622593eddf4abb19e35c7fc5fc6;p=ceph.git mds: output full details for recall threshold Signed-off-by: Patrick Donnelly (cherry picked from commit 9ca2b3add91b049cb1eecd24a3297a9b2b8a103a) --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 874b456058c1..d30371099e20 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -1309,7 +1309,9 @@ std::pair Server::recall_client_state(MDSGatherBuilder* gather, * session threshold for the session's cap recall throttle. */ dout(15) << " 2*session_release < session_recall" - " (2*" << session_release << " < " << session_recall << ");" + " (2*" << session_release << " < " << session_recall << ") &&" + " 2*session_recall < recall_max_decay_threshold" + " (2*" << session_recall << " > " << recall_max_decay_threshold << ")" " Skipping because we are unlikely to get more released." << dendl; continue; } else if (recall < recall_max_caps && 2*recall < session_recall) {