From bc16d7e3007488042e74e69894a39bb2cf31a5e1 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 31 Aug 2017 17:22:00 -0400 Subject: [PATCH] osd/PrimaryLogPG: do_op: no need to block on missing/degraded snapdir Signed-off-by: Sage Weil --- src/osd/PrimaryLogPG.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 40a9843d14057..abd69aa922bea 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -2059,20 +2059,6 @@ void PrimaryLogPG::do_op(OpRequestRef& op) return; } - // missing snapdir? - hobject_t snapdir = head.get_snapdir(); - - if (is_unreadable_object(snapdir)) { - wait_for_unreadable_object(snapdir, op); - return; - } - - // degraded object? - if (write_ordered && is_degraded_or_backfilling_object(snapdir)) { - wait_for_degraded_object(snapdir, op); - return; - } - // dup/resent? if (op->may_write() || op->may_cache()) { // warning: we will get back *a* request for this reqid, but not -- 2.39.5