Re: [PATCH v2 1/4] block: nbd: Fix convert qcow2 compressed to nbd

2020-07-28 Thread Eric Blake
On 7/28/20 8:15 AM, Vladimir Sementsov-Ogievskiy wrote: 28.07.2020 00:58, Nir Soffer wrote: When converting to qcow2 compressed format, the last step is a special zero length compressed write, ending in call to bdrv_co_truncate(). This call always fails for the nbd driver since it does not

Re: [PATCH v2 1/4] block: nbd: Fix convert qcow2 compressed to nbd

2020-07-28 Thread Eric Blake
On 7/27/20 4:58 PM, Nir Soffer wrote: When converting to qcow2 compressed format, the last step is a special zero length compressed write, ending in call to bdrv_co_truncate(). This in a call call always fails for the nbd driver since it does not implement bdrv_co_truncate(). For block

Re: [PATCH v2 1/4] block: nbd: Fix convert qcow2 compressed to nbd

2020-07-28 Thread Vladimir Sementsov-Ogievskiy
28.07.2020 00:58, Nir Soffer wrote: When converting to qcow2 compressed format, the last step is a special zero length compressed write, ending in call to bdrv_co_truncate(). This call always fails for the nbd driver since it does not implement bdrv_co_truncate(). For block devices, which have

[PATCH v2 1/4] block: nbd: Fix convert qcow2 compressed to nbd

2020-07-27 Thread Nir Soffer
When converting to qcow2 compressed format, the last step is a special zero length compressed write, ending in call to bdrv_co_truncate(). This call always fails for the nbd driver since it does not implement bdrv_co_truncate(). For block devices, which have the same limits, the call succeeds