]> git.proxmox.com Git - mirror_qemu.git/commit
block: Don't wait serialising for non-COR read requests
authorFam Zheng <famz@redhat.com>
Tue, 1 Dec 2015 09:36:28 +0000 (17:36 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 3 Dec 2015 03:08:07 +0000 (11:08 +0800)
commit61408b250eaa6157e49fbdcfe21f2f53e50b9277
tree78f39e253a091ed8e5303f0c13fa89a0f231c60c
parentd21e8776f6578be155714ae95c7d6c1bb03e8e34
block: Don't wait serialising for non-COR read requests

The assertion problem was noticed in 06c3916b35a, but it wasn't
completely fixed, because even though the req is not marked as
serialising, it still gets serialised by wait_serialising_requests
against other serialising requests, which could lead to the same
assertion failure.

Fix it by even more explicitly skipping the serialising for this
specific case.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1448962590-2842-2-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/backup.c
block/io.c
include/block/block.h
trace-events