Re: [Qemu-devel] [Qemu-block] [PATCH] block/mirror: enable detect zeroes when driving mirror

2016-11-22 Thread wyang
On 2016年11月22日 18:09, Kevin Wolf wrote: Am 22.11.2016 um 04:45 hat wyang geschrieben: On 2016年11月21日 19:34, Kevin Wolf wrote: Am 21.11.2016 um 02:24 hat Yang Wei geschrieben: In order to preserve sparse disk image, detect_zeroes should also be enabled when bdrv_get_block_status_above() returns

Re: [Qemu-devel] [Qemu-block] [PATCH] block/mirror: enable detect zeroes when driving mirror

2016-11-22 Thread Kevin Wolf
Am 22.11.2016 um 04:45 hat wyang geschrieben: > On 2016年11月21日 19:34, Kevin Wolf wrote: > >Am 21.11.2016 um 02:24 hat Yang Wei geschrieben: > >>In order to preserve sparse disk image, detect_zeroes > >>should also be enabled when bdrv_get_block_status_above() > >>returns BDRV_BLOCK_DATA > >> > >>Si

Re: [Qemu-devel] [Qemu-block] [PATCH] block/mirror: enable detect zeroes when driving mirror

2016-11-21 Thread wyang
On 2016年11月21日 19:34, Kevin Wolf wrote: Am 21.11.2016 um 02:24 hat Yang Wei geschrieben: In order to preserve sparse disk image, detect_zeroes should also be enabled when bdrv_get_block_status_above() returns BDRV_BLOCK_DATA Signed-off-by: Yang Wei Just preserving sparseness is exactly why bd

Re: [Qemu-devel] [Qemu-block] [PATCH] block/mirror: enable detect zeroes when driving mirror

2016-11-21 Thread Kevin Wolf
Am 21.11.2016 um 02:24 hat Yang Wei geschrieben: > In order to preserve sparse disk image, detect_zeroes > should also be enabled when bdrv_get_block_status_above() > returns BDRV_BLOCK_DATA > > Signed-off-by: Yang Wei Just preserving sparseness is exactly why bdrv_get_block_status_above() is ch