From: Sage Weil Date: Fri, 2 Oct 2015 18:12:22 +0000 (-0400) Subject: osd/ReplicatedPG: exempt MDS from the failsafe check, too X-Git-Tag: v9.1.0~35^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8d8fcee4274d98cc3e0ec2329aff519f726f7304;p=ceph.git osd/ReplicatedPG: exempt MDS from the failsafe check, too This mimics the prior behavior. We probably want to change this at some point! Signed-off-by: Sage Weil --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 124b150c55e0..3502d4c3bc08 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -1505,7 +1505,7 @@ void ReplicatedPG::do_op(OpRequestRef& op) << *m << dendl; return; } - if (osd->check_failsafe_full()) { + if (!m->get_source().is_mds() && osd->check_failsafe_full()) { dout(10) << __func__ << " fail-safe full check failed, dropping request" << dendl; return;