]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: potential read IO hang when image is flattened 16184/head
authorMykola Golub <mgolub@mirantis.com>
Tue, 23 May 2017 10:07:45 +0000 (12:07 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 6 Jul 2017 17:58:06 +0000 (19:58 +0200)
Fixes: http://tracker.ceph.com/issues/19832
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 10d58618e7c632ef01b9537492239e0a042dc17e)

src/librbd/AioObjectRequest.cc

index 1b466efe52c4d8ac8f9512b51fec2dc2f05197e1..910f9a122b6d2cff25580ca030288410c3e04c5f 100644 (file)
@@ -187,8 +187,6 @@ bool AioObjectRead<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;
         }