Re: [PATCH 2/2] iotests: Test large write request to qcow2 file

2019-10-10 Thread Eric Blake
On 10/10/19 5:08 AM, Max Reitz wrote: Without HEAD^, the following happens when you attempt a large write request to a qcow2 file such that the number of bytes covered by all clusters involved in a single allocation will exceed INT_MAX: (A) handle_alloc_space() decides to fill the whole area wit

[PATCH 2/2] iotests: Test large write request to qcow2 file

2019-10-10 Thread Max Reitz
Without HEAD^, the following happens when you attempt a large write request to a qcow2 file such that the number of bytes covered by all clusters involved in a single allocation will exceed INT_MAX: (A) handle_alloc_space() decides to fill the whole area with zeroes and fails because bdrv_co_p