From f8fcefd234aa6ff099048195bc8145c5cd2c7ed8 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 13 Feb 2017 17:38:38 -0500 Subject: [PATCH] osdc/Objecter: force pg_command ops to ignore overlay Signed-off-by: Sage Weil --- src/osdc/Objecter.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 2b2113f73a8c1..a495ed99017fa 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -4801,6 +4801,9 @@ int Objecter::_calc_command_target(CommandOp *c, shunique_lock& sul) c->map_check_error = 0; + // ignore overlays, just like we do with pg ops + c->target.flags |= CEPH_OSD_FLAG_IGNORE_OVERLAY; + if (c->target_osd >= 0) { if (!osdmap->exists(c->target_osd)) { c->map_check_error = -ENOENT; -- 2.39.5