|
| From: | Juan Quintela |
| Subject: | Re: [PATCH v3 06/10] migration: Remember num of ramblocks to sync during recovery |
| Date: | Thu, 05 Oct 2023 09:43:30 +0200 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) |
Peter Xu <peterx@redhat.com> wrote: > Instead of only relying on the count of rp_sem, make the counter be part of > RAMState so it can be used in both threads to synchronize on the process. > > rp_sem will be further reused in follow up patches, as a way to kick the > main thread, e.g., on recovery failures. > > Reviewed-by: Fabiano Rosas <farosas@suse.de> > Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> queued.
| [Prev in Thread] | Current Thread | [Next in Thread] |