-
Alberto Garcia authored
If a BlockDriverState supports backing files but has none then any unallocated area reads back as zeroes. bdrv_co_block_status() is only reporting this is if want_zero is true, but this is an inexpensive test and there is no reason not to do it in all cases. Suggested-by:
Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by:
Alberto Garcia <berto@igalia.com>
Reviewed-by:
Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <66fa0914a0e2b727ab6d1b63ca773d7cd29a9a9e.1603731354.git.berto@igalia.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Alberto Garcia authoredIf a BlockDriverState supports backing files but has none then any unallocated area reads back as zeroes. bdrv_co_block_status() is only reporting this is if want_zero is true, but this is an inexpensive test and there is no reason not to do it in all cases. Suggested-by:
Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by:
Alberto Garcia <berto@igalia.com>
Reviewed-by:
Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <66fa0914a0e2b727ab6d1b63ca773d7cd29a9a9e.1603731354.git.berto@igalia.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading