|
| From: | Juan Quintela |
| Subject: | Re: [PATCH v2] migration: refactor migration_completion |
| Date: | Wed, 11 Oct 2023 13:22:44 +0200 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) |
Wei Wang <wei.w.wang@intel.com> wrote: > Current migration_completion function is a bit long. Refactor the long > implementation into different subfunctions: > - migration_completion_precopy: completion code related to precopy > - migration_completion_postcopy: completion code related to postcopy > - close_return_path_on_source: rp thread related cleanup on migration > completion. It is named to match with open_return_path_on_source. > > This improves readability and is easier for future updates (e.g. add new > subfunctions when completion code related to new features are needed). No > functional changes intended. > > Signed-off-by: Wei Wang <wei.w.wang@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> queued.
| [Prev in Thread] | Current Thread | [Next in Thread] |