]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: allow FULL_TRY after failsafe 17177/head
authorPan Liu <wanjun.lp@alibaba-inc.com>
Wed, 23 Aug 2017 04:00:53 +0000 (12:00 +0800)
committerPan Liu <wanjun.lp@alibaba-inc.com>
Sat, 26 Aug 2017 01:56:00 +0000 (09:56 +0800)
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
src/osd/PrimaryLogPG.cc

index ac3db593e67228d096dc55ea68c595070caf04ee..fb18fd5c4d65abf906d20b13d7d4b2c0c951bbee 100644 (file)
@@ -1978,7 +1978,7 @@ void PrimaryLogPG::do_op(OpRequestRef& op)
   // We can't allow OSD to become non-startable even if mds
   // could be writing as part of file removals.
   ostringstream ss;
-  if (write_ordered && osd->check_failsafe_full(ss)) {
+  if (write_ordered && osd->check_failsafe_full(ss) && !m->has_flag(CEPH_OSD_FLAG_FULL_TRY)) {
     dout(10) << __func__ << " fail-safe full check failed, dropping request"
              << ss.str()
             << dendl;