[Bug 1368815] Re: qemu-img convert intermittently corrupts output images

2014-12-16 Thread Alexei Sheplyakov
The second part of the fix (which does not reduce the performance) for qemu 2.0 (apparently uploading two patches at once is not so easy) ** Patch added: 0502-block-raw-posix-use-seek_hole-ahead-of-fiemap.patch

[Bug 1368815] Re: qemu-img convert intermittently corrupts output images

2014-12-16 Thread Alexei Sheplyakov
- 501-block-raw-posix-fix-disk-corruption-in-try-fiemap - (note - 502-block-raw-posic-use-seek-hole-ahead-of-fiemap (which was also needed in utopic) appears to be unneeded here as the code being changed has not yet been switched to using try_fiemap) Actually such a enforces fsync

[Bug 1368815] Re: qemu-img convert intermittently corrupts output images

2014-12-16 Thread Alexei Sheplyakov
Patch 0500-block-raw-posix-Try-both-FIEMAP-and-SEEK_HOLE.patch appears to be part of a bigger re-write of the related code. and is ON TOP of the patches already applied in this bug. Yep, sorry for not mentioning this. As far as I understand qemu-2.1 package contains this partially rewritten

[Bug 1368815] Re: qemu-img convert intermittently corrupts output images

2014-12-16 Thread Alexei Sheplyakov
The second part of the fix (which does not reduce the performance) for qemu 2.0 (apparently uploading two patches at once is not so easy) ** Patch added: 0502-block-raw-posix-use-seek_hole-ahead-of-fiemap.patch

[Bug 1368815] Re: qemu-img convert intermittently corrupts output images

2014-12-16 Thread Alexei Sheplyakov
- 501-block-raw-posix-fix-disk-corruption-in-try-fiemap - (note - 502-block-raw-posic-use-seek-hole-ahead-of-fiemap (which was also needed in utopic) appears to be unneeded here as the code being changed has not yet been switched to using try_fiemap) Actually such a enforces fsync

[Bug 1368815] Re: qemu-img convert intermittently corrupts output images

2014-12-16 Thread Alexei Sheplyakov
Patch 0500-block-raw-posix-Try-both-FIEMAP-and-SEEK_HOLE.patch appears to be part of a bigger re-write of the related code. and is ON TOP of the patches already applied in this bug. Yep, sorry for not mentioning this. As far as I understand qemu-2.1 package contains this partially rewritten