]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: exempt MDS from the failsafe check, too
authorSage Weil <sage@redhat.com>
Fri, 2 Oct 2015 18:12:22 +0000 (14:12 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Oct 2015 18:12:22 +0000 (14:12 -0400)
This mimics the prior behavior.  We probably want to change this at some
point!

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc

index 124b150c55e0a3340c86b88ffe70fd24768f2757..3502d4c3bc083560e860e68930328f0d10815698 100644 (file)
@@ -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;