From: Sage Weil Date: Sun, 9 Nov 2014 15:42:34 +0000 (-0800) Subject: osdc/Objecter: skip ping if PAUSERD X-Git-Tag: v0.91~121 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=872012f1aeb06eba2833870ff992ca36bd3261a0;p=ceph.git osdc/Objecter: skip ping if PAUSERD Signed-off-by: Sage Weil --- diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 0570d9778eb7..b3c5bbb1e543 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -506,6 +506,10 @@ void Objecter::_send_linger_ping(LingerOp *info) ldout(cct, 10) << __func__ << " " << info->linger_id << " SKIPPING" << dendl; return; } + if (osdmap->test_flag(CEPH_OSDMAP_PAUSERD)) { + ldout(cct, 10) << __func__ << " PAUSERD" << dendl; + return; + } utime_t now = ceph_clock_now(NULL); ldout(cct, 10) << __func__ << " " << info->linger_id << " now " << now << dendl;