]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: potential read IO hang when image is flattened 15234/head
authorMykola Golub <mgolub@mirantis.com>
Tue, 23 May 2017 10:07:45 +0000 (12:07 +0200)
committerMykola Golub <mgolub@mirantis.com>
Tue, 23 May 2017 10:07:45 +0000 (12:07 +0200)
Fixes: http://tracker.ceph.com/issues/19832
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/ObjectRequest.cc

index 1cdb696b7171b070ac504a001fc29c66b83aeb15..2f28f738bd652b57b0580238f273bb008adcc896 100644 (file)
@@ -217,8 +217,6 @@ bool ObjectReadRequest<I>::should_complete(int r)
         RWLock::RLocker parent_locker(image_ctx->parent_lock);
         if (image_ctx->parent == NULL) {
           ldout(image_ctx->cct, 20) << "parent is gone; do nothing" << dendl;
-          m_state = LIBRBD_AIO_READ_FLAT;
-          finished = false;
           break;
         }