Description of problem: with a 2 tb filesystem attached to a virt guest using virtio im seeing very quickly massive file system corruption. there is no IO errors on the host or the guest. talking to danpb in irc it looks related to http://www.mail-archive.com/qemu-devel@nongnu.org/msg32499.html dan also commented on finding other patches related to disk > 1t Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Trawling the upstream QEMU GIT logs for patches to the block layer that are not in 0.12.3, I see some changesets that look like they'd be valuable in avoiding data corruption. The mailing list thread suggests they impact large disks commit cbf1dff2f1033cadcb15c0ffc9c0a3d039d8ed42 Author: Kevin Wolf <kwolf> Date: Fri May 21 11:09:42 2010 +0200 block: Fix multiwrite with overlapping requests With overlapping requests, the total number of sectors is smaller than the sum of the nb_sectors of both requests. Signed-off-by: Kevin Wolf <kwolf> commit 77be4366baface6613cfc312ba281f8e5860997c Author: Christoph Hellwig <hch> Date: Wed May 19 20:53:10 2010 +0200 block: fix sector comparism in multiwrite_req_compare The difference between the start sectors of two requests can be larger than the size of the "int" type, which can lead to a not correctly sorted multiwrite array and thus spurious I/O errors and filesystem corruption due to incorrect request merges. So instead of doing the cute sector arithmetics trick spell out the exact comparisms. Spotted by Kevin Wolf based on a testcase from Michael Tokarev. commit 618fbb84299780af96e3d4c4b6f2148656fe3708 Author: Christoph Hellwig <hch> Date: Wed May 19 12:40:09 2010 +0200 virtio-blk: fix barrier support Before issuing the barrier to the block driver we need to flush our oustanding queue of write requests, as the flush is supposed to be issued after them. Signed-off-by: Christoph Hellwig <hch> Signed-off-by: Kevin Wolf <kwolf>
seabios-0.6.0-1.fc13,gpxe-1.0.1-1.fc13,qemu-0.12.5-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/seabios-0.6.0-1.fc13,gpxe-1.0.1-1.fc13,qemu-0.12.5-1.fc13
seabios-0.6.0-1.fc13, gpxe-1.0.1-1.fc13, qemu-0.12.5-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update seabios gpxe qemu'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/seabios-0.6.0-1.fc13,gpxe-1.0.1-1.fc13,qemu-0.12.5-1.fc13
seabios-0.6.0-1.fc13, gpxe-1.0.1-1.fc13, qemu-0.12.5-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 626684 has been marked as a duplicate of this bug. ***
*** Bug 624293 has been marked as a duplicate of this bug. ***
*** Bug 612036 has been marked as a duplicate of this bug. ***