Bug 1123908
Summary: | block.c: multiwrite_merge() truncates overlapping requests | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Stefan Hajnoczi <stefanha> |
Component: | qemu-kvm-rhev | Assignee: | Stefan Hajnoczi <stefanha> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | huding, juzhang, michen, shu, sluo, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.1.2-4.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 09:48:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stefan Hajnoczi
2014-07-28 15:32:34 UTC
Backport posted. Fix included in qemu-kvm-rhev-2.1.2-4.el7 Reproduced by git checkout qemu-kvm-rhev-2.1.2-3.el7: 1. git checkout qemu-kvm-rhev-2.1.2-3.el7 ./configure && make cd test/qemu-iotests/ ./check 100 QEMU -- /root/qemu-kvm/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64 QEMU_IMG -- /root/qemu-kvm/tests/qemu-iotests/../../qemu-img QEMU_IO -- /root/qemu-kvm/tests/qemu-iotests/../../qemu-io QEMU_NBD -- /root/qemu-kvm/tests/qemu-iotests/../../qemu-nbd IMGFMT -- raw IMGPROTO -- file PLATFORM -- Linux/x86_64 localhost 3.10.0-187.el7.x86_64 SOCKET_SCM_HELPER -- /root/qemu-kvm/tests/qemu-iotests/socket_scm_helper 100 - output mismatch (see 100.out.bad) --- /root/qemu-kvm/tests/qemu-iotests/100.out 2014-10-29 19:28:03.640004106 +0800 +++ 100.out.bad 2014-10-29 19:28:17.518715688 +0800 @@ -32,6 +32,7 @@ == verify pattern == read 1024/1024 bytes at offset 0 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +Pattern verification failed at offset 3072, 1024 bytes read 1024/1024 bytes at offset 3072 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) read 4096/4096 bytes at offset 4096 @@ -45,6 +46,7 @@ == verify pattern == read 1024/1024 bytes at offset 0 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +Pattern verification failed at offset 3072, 1024 bytes read 1024/1024 bytes at offset 3072 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) read 4096/4096 bytes at offset 4096 Failures: 100 Failed 1 of 1 tests Verified on qemu-kvm-rhev-2.1.2-5.el7: git checkout qemu-kvm-rhev-2.1.2-5.el7 repeat the above test: # ./check 100 QEMU -- /root/qemu-kvm/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64 QEMU_IMG -- /root/qemu-kvm/tests/qemu-iotests/../../qemu-img QEMU_IO -- /root/qemu-kvm/tests/qemu-iotests/../../qemu-io QEMU_NBD -- /root/qemu-kvm/tests/qemu-iotests/../../qemu-nbd IMGFMT -- raw IMGPROTO -- file PLATFORM -- Linux/x86_64 localhost 3.10.0-187.el7.x86_64 SOCKET_SCM_HELPER -- /root/qemu-kvm/tests/qemu-iotests/socket_scm_helper 100 Passed all 1 tests Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0624.html |