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 <vsement...@virtuozzo.com> > Reviewed-by: Andrey Shinkevich <andrey.shinkev...@virtuozzo.com> > --- > block/block-copy.c | 73 +++++++++++++++++++++++++++++++++++++--------- > block/trace-events | 1 + > 2 files changed, 61 insertions(+), 13 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature