https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2015-11-09T14:02:02ZCeph rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=612322015-11-09T14:02:02Zalexandre derumieraderumier@odiso.Com
<ul><li><strong>File</strong> <a href="/attachments/download/2069/ceph.client.log">ceph.client.log</a> <a class="icon-only icon-magnifier" title="View" href="/attachments/2069/ceph.client.log">View</a> added</li></ul><p>I have attached the client log,</p>
<p>the snapshot create command was :</p>
<p>rbd -p pooltest --image vm-162-disk-1 snap create --snap snap1</p> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=612362015-11-09T14:59:59ZJason Dillamandillaman@redhat.com
<ul></ul><p>In-flight AIO read request forces an image refresh due to out-of-band snapshot creation. Detecting the newly created snapshot forces librbd to flush all in-flight ops. If there are no in-flight ops to flush, it will enqueue a completion on the thread pool. However, the thread pool will be blocked handling the AIO request waiting for the flush to complete.</p>
<p>The synchronous ImageCtx::flush_async_operations() method cannot use async callbacks.</p> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=612372015-11-09T15:00:59ZJason Dillamandillaman@redhat.com
<ul><li><strong>Backport</strong> set to <i>hammer,infernalis</i></li></ul> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=612382015-11-09T15:01:11ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Jason Dillaman</i></li></ul> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=612452015-11-09T16:26:26ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Fix Under Review</i></li></ul><p><strong>jewel PR</strong>: <a class="external" href="https://github.com/ceph/ceph/pull/6508">https://github.com/ceph/ceph/pull/6508</a></p> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=613322015-11-10T17:04:05Zalexandre derumieraderumier@odiso.Com
<ul></ul><p>I confirm this is fixed with this PR.</p>
<p>(tested on infernalis)</p> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=613562015-11-10T18:07:19ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=613572015-11-10T18:07:45ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/13755">Backport #13755</a>: QEMU hangs after creating snapshot and stopping VM</i> added</li></ul> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=613592015-11-10T18:08:10ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/13756">Backport #13756</a>: QEMU hangs after creating snapshot and stopping VM</i> added</li></ul> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=623852015-12-02T16:41:10ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul> rbd - Bug #13726: QEMU hangs after creating snapshot and stopping VMhttps://tracker.ceph.com/issues/13726?journal_id=671622016-03-09T21:25:35ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-6 priority-high2 closed" href="/issues/14988">Bug #14988</a>: QEMU VM hangs talking to RBD via librbd</i> added</li></ul>