]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "osd/ReplicatedPG: for copy_get get omap, firstly check ob whether has omap." 9638/head
authorSamuel Just <sjust@redhat.com>
Thu, 9 Jun 2016 17:36:44 +0000 (10:36 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 9 Jun 2016 17:36:44 +0000 (10:36 -0700)
This reverts commit 771c869651132013054599f3decfc1017092a25f.

src/osd/ReplicatedPG.cc

index e53dff66643d589debd814dd83221a66a8f69c5b..e197864d1817538a049b4070384a6c2633f171f1 100644 (file)
@@ -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) {