From: Mark Nelson Date: Thu, 29 Mar 2018 17:47:19 +0000 (-0500) Subject: osd/OSD: make dout in _check_full conditional X-Git-Tag: v13.1.0~434^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9b4bae15324f40d83445bc6560ae38cde1c8ed23;p=ceph.git osd/OSD: make dout in _check_full conditional Signed-off-by: Mark Nelson --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 92c981a09ec8..9cb9ef1b2eb4 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -874,7 +874,8 @@ bool OSDService::_check_full(DoutPrefixProvider *dpp, s_names type) const << dendl; return true; } - ldpp_dout(dpp, 10) << __func__ << " current usage is " << cur_ratio << dendl; + if (cur_state >= type) + ldpp_dout(dpp, 10) << __func__ << " current usage is " << cur_ratio << dendl; return cur_state >= type; }