diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-10-21 17:58:40 +0300 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-12-18 12:35:55 +0100 |
commit | 2e36da62cf36d83897f922969e4523317e5f6ad3 (patch) | |
tree | 108f61d64cfd7300e5f6e39a8bfd7de4aecfca32 /hw/misc/pci-testdev.c | |
parent | 2153994e2efad92092a60bf6d1947f4a721ae46d (diff) | |
download | qemu-2e36da62cf36d83897f922969e4523317e5f6ad3.zip qemu-2e36da62cf36d83897f922969e4523317e5f6ad3.tar.gz qemu-2e36da62cf36d83897f922969e4523317e5f6ad3.tar.bz2 |
block/io.c: drop assertion on double waiting for request serialisation
The comments states, that on misaligned request we should have already
been waiting. But for bdrv_padding_rmw_read, we called
bdrv_mark_request_serialising with align = request_alignment, and now
we serialise with align = cluster_size. So we may have to wait again
with larger alignment.
Note, that the only user of BDRV_REQ_SERIALISING is backup which issues
cluster-aligned requests, so seems the assertion should not fire for
now. But it's wrong anyway.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201021145859.11201-3-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/misc/pci-testdev.c')
0 files changed, 0 insertions, 0 deletions