From: Yehuda Sadeh Date: Fri, 7 Mar 2014 20:43:43 +0000 (-0800) Subject: rgw: abort early from logging function X-Git-Tag: v0.86~213^2~98 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1d07ef2ff366c011f8314fe2406fbf9f64ff10a6;p=ceph.git rgw: abort early from logging function Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc index 31b6b54da4be..731b3ff04c82 100644 --- a/src/rgw/rgw_main.cc +++ b/src/rgw/rgw_main.cc @@ -205,6 +205,9 @@ protected: perfcounter->inc(l_rgw_qactive, -1); } void _dump_queue() { + if (!g_conf->subsys.should_gather(ceph_subsys_rgw, 20)) { + return; + } deque::iterator iter; if (process->m_req_queue.empty()) { dout(20) << "RGWWQ: empty" << dendl;