On 24/01/2022 11:44, Juan Quintela wrote: >> diff --git a/migration/migration.c b/migration/migration.c >> index 0652165610..1f06fd2d18 100644 >> --- a/migration/migration.c >> +++ b/migration/migration.c >> @@ -499,7 +499,7 @@ static void process_incoming_migration_bh(void *opaque) >> global_state_get_runstate() == RUN_STATE_RUNNING))) { >> /* Make sure all file formats flush their mutable metadata. >> * If we get an error here, just don't restart the VM yet. */ >> - bdrv_invalidate_cache_all(&local_err); >> + bdrv_activate_all(&local_err); > I guess that we can change the comment here, it just looks weird the > comment saying flush() and the function nawed _activate() > Do you think it's enough to replace "flush" with "activate"? I am not sure whether "activate their mutable metadata" is meaningful. Thank you, Emanuele
- [PATCH v6 12/33] block.c: add assertions to sta... Emanuele Giuseppe Esposito
- [PATCH v6 28/33] job.h: split function pointers... Emanuele Giuseppe Esposito
- [PATCH v6 16/33] assertions for blockdev.h glob... Emanuele Giuseppe Esposito
- [PATCH v6 17/33] include/block/snapshot: global... Emanuele Giuseppe Esposito
- [PATCH v6 30/33] include/block/block_int-common... Emanuele Giuseppe Esposito
- Re: [PATCH v6 30/33] include/block/block_i... Hanna Reitz
- [PATCH v6 31/33] include/qemu/job.h: introduce ... Emanuele Giuseppe Esposito
- Re: [PATCH v6 31/33] include/qemu/job.h: i... Hanna Reitz
- [PATCH v6 20/33] block: rename bdrv_invalidate_... Emanuele Giuseppe Esposito
- Re: [PATCH v6 20/33] block: rename bdrv_in... Juan Quintela
- Re: [PATCH v6 20/33] block: rename bdr... Emanuele Giuseppe Esposito
- Re: [PATCH v6 20/33] block: rename... Paolo Bonzini
- Re: [PATCH v6 20/33] block: rename bdrv_in... Hanna Reitz
- [PATCH v6 32/33] crypto: delegate permission fu... Emanuele Giuseppe Esposito
- Re: [PATCH v6 32/33] crypto: delegate perm... Paolo Bonzini
- Re: [PATCH v6 32/33] crypto: delegate perm... Hanna Reitz
- Re: [PATCH v6 32/33] crypto: delegate ... Emanuele Giuseppe Esposito
- [PATCH v6 26/33] block_int-common.h: assertions... Emanuele Giuseppe Esposito
- Re: [PATCH v6 26/33] block_int-common.h: a... Hanna Reitz
- [PATCH v6 33/33] block.c: assertions to the blo... Emanuele Giuseppe Esposito
- [PATCH v6 24/33] block_int-common.h: assertions... Emanuele Giuseppe Esposito