]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: fix incorrect skipping of partial hole reading
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 30 Jun 2016 07:47:19 +0000 (15:47 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 30 Jun 2016 08:07:41 +0000 (16:07 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc

index e3854b51091f861285c2e4150be9c07b00cee854..72a3a2210a9b4f2e72124838abfc59253c0ffe20 100644 (file)
@@ -3421,7 +3421,6 @@ int BlueStore::_do_read(
               << std::dec << dendl;
       pos += hole;
       left -= hole;
-      continue;
     }
     Blob *bptr = c->get_blob(o, lp->second.blob);
     if (bptr == nullptr) {