On Tue 19 May 2020 11:15:44 AM CEST, Kevin Wolf wrote: > But maybe it could return a limited set of flags at least so that the > mirror job can get the BDRV_BLOCK_ZERO information if the quorum > children agree on it.
Yeah, maybe it is possible to implement a conservative version of that function and fall back to BDRV_BLOCK_DATA | BDRV_BLOCK_ALLOCATED (or something like that) in the cases where there's no clear alternative. Berto