On 18.08.2022 17:14, Alexander Ivanov wrote:
Fix image inflation when offset in BAT is out of image.
Replace whole BAT syncing by flushing only dirty blocks.
Move all the checks outside the main check function in
separate functions
Use WITH_QEMU_LOCK_GUARD for simplier code.
v4 changes:
M
Fix image inflation when offset in BAT is out of image.
Replace whole BAT syncing by flushing only dirty blocks.
Move all the checks outside the main check function in
separate functions
Use WITH_QEMU_LOCK_GUARD for simplier code.
v4 changes:
Move s->data_end fixing to parallels_co_check().
We will add more and more checks of images so we need to reorganize the code.
Put each check to a separate helper function with a separate loop.
Replace qemu_co_mutex_lock by WITH_QEMU_LOCK_GUARD for more clean code.
Fix a bug when out of image offset in BAT leads to image inflation.
Replace bdr