From 4a967eb42a7409b9d78d569585af2155414234d2 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Thu, 9 Jun 2016 10:36:44 -0700 Subject: [PATCH] Revert "osd/ReplicatedPG: for copy_get get omap, firstly check ob whether has omap." This reverts commit 771c869651132013054599f3decfc1017092a25f. --- src/osd/ReplicatedPG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index e53dff66643d5..e197864d18175 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -7027,7 +7027,7 @@ int ReplicatedPG::fill_in_copy_get( // omap uint32_t omap_keys = 0; - if (!pool.info.supports_omap() || !oi.is_omap()) { + if (!pool.info.supports_omap()) { cursor.omap_complete = true; } else { if (left > 0 && !cursor.omap_complete) { -- 2.39.5