On 06.03.20 08:38, Vladimir Sementsov-Ogievskiy wrote: > Use bdrv_block_status_above to chose effective chunk size and to handle > zeroes effectively. > > This substitutes checking for just being allocated or not, and drops > old code path for it. Assistance by backup job is dropped too, as > caching block-status information is more difficult than just caching > is-allocated information in our dirty bitmap, and backup job is not > good place for this caching anyway. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> > Reviewed-by: Andrey Shinkevich <[email protected]> > --- > block/block-copy.c | 73 +++++++++++++++++++++++++++++++++++++--------- > block/trace-events | 1 + > 2 files changed, 61 insertions(+), 13 deletions(-)
Reviewed-by: Max Reitz <[email protected]>
signature.asc
Description: OpenPGP digital signature
