From 40cf32b87d62c352ac167f11cbde501ec7a5e97e Mon Sep 17 00:00:00 2001 From: Pan Liu Date: Wed, 23 Aug 2017 12:00:53 +0800 Subject: [PATCH] osd: allow FULL_TRY after failsafe Signed-off-by: Pan Liu --- src/osd/PrimaryLogPG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index ac3db593e6722..fb18fd5c4d65a 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -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;