diff options
| author | Eric Blake | 2016-06-13 20:56:34 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-06-16 15:19:55 +0200 |
| commit | 73698c30caaf16e990b8b2e6e7bc64928947e65e (patch) | |
| tree | c95b88275d1113084d17a01276123992ca7406a8 /include | |
| parent | qemu-img bench: Fix uninitialised writethrough mode (diff) | |
| download | qemu-73698c30caaf16e990b8b2e6e7bc64928947e65e.tar.gz qemu-73698c30caaf16e990b8b2e6e7bc64928947e65e.tar.xz qemu-73698c30caaf16e990b8b2e6e7bc64928947e65e.zip | |
block: Avoid bogus flags during mirroring
Commit e253f4b8 converted mirroring from sector-based bdrv_aio_*
to byte-based blk_aio_*, but failed to account for the subtle
difference in signatures (the former takes a semi-redundant length,
the latter takes a flags parameter). Since all of our flags are
currently smaller in size than BDRV_SECTOR_SIZE, it has no ill
effects until we either perform sub-sector mirroring, or we start
asserting that no unexpected flags are set. I found it while
testing new asserts when qemu-iotests 132 started warning about an
unknown flag 0x200000.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
