Re: [PATCH 08/17] sheepdog: Consistently set bdrv_has_zero_init_truncate

2020-02-04 Thread Vladimir Sementsov-Ogievskiy
31.01.2020 20:44, Eric Blake wrote: block_int.h claims that .bdrv_has_zero_init must return 0 if .bdrv_has_zero_init_truncate does likewise; but this is violated if Hmm, you changed this in patch 04.. only the former callback is provided if .bdrv_co_truncate also exists. When adding the latte

[PATCH 08/17] sheepdog: Consistently set bdrv_has_zero_init_truncate

2020-01-31 Thread Eric Blake
block_int.h claims that .bdrv_has_zero_init must return 0 if .bdrv_has_zero_init_truncate does likewise; but this is violated if only the former callback is provided if .bdrv_co_truncate also exists. When adding the latter callback, it was mistakenly added to only one of the three possible sheepdog