Re: [Qemu-devel] [PATCH 0/2] block/file-posix: Fix fully preallocated truncate

2018-03-26 Thread Max Reitz
On 2018-02-28 14:13, Max Reitz wrote: > Fully preallocated truncation has a 50 % chance of working on images > files over file-posix. It works if $SIZE % 4G < 2G, and it fails > otherwise. To make things even more interesting, often you would not > even notice because qemu reported success even t

Re: [Qemu-devel] [PATCH 0/2] block/file-posix: Fix fully preallocated truncate

2018-02-28 Thread Eric Blake
On 02/28/2018 07:13 AM, Max Reitz wrote: Fully preallocated truncation has a 50 % chance of working on images files over file-posix. It works if $SIZE % 4G < 2G, and it fails otherwise. To make things even more interesting, often you would not even notice because qemu reported success even thou

[Qemu-devel] [PATCH 0/2] block/file-posix: Fix fully preallocated truncate

2018-02-28 Thread Max Reitz
Fully preallocated truncation has a 50 % chance of working on images files over file-posix. It works if $SIZE % 4G < 2G, and it fails otherwise. To make things even more interesting, often you would not even notice because qemu reported success even though it did nothing (because after the succes