migration/multifd: Some VFIO / postcopy preparations on flush
Status from this message: Queued, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 4 repliesApplied
- v27 patches 17 repliesSuperseded
- v12 patches 9 repliesSuperseded
Changes in v3 from the cover letter
- R-bs collected
- Update commit message of patch 1 [Fabiano]
- English updates [Fabiano]
- Update comment for MULTIFD_SYNC_ALL [Fabiano]
- In multifd_send_sync_main(), assert on req type [Fabiano]
- Some more comments and cleanup for RAM_SAVE_FLAG_* movement [Fabiano]
- Update the last document patch [Fabiano]
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | migration/multifd: Further remove the SYNC on completemigration/ | +10 | 0 replies | |
| 2/7 | migration/multifd: Allow to sync with sender threads onlymigration/ migration/ migration/ | +37 | 1 reply | |
| 3/7 | migration/ram: Move RAM_SAVE_FLAG* into ram.hmigration/ migration/ migration/ | +28 | 0 replies | |
| 4/7 | migration/multifd: Unify RAM_SAVE_FLAG_MULTIFD_FLUSH messagesmigration/ migration/ migration/ | +30 | 0 replies | |
| 5/7 | migration/multifd: Remove sync processing on postcopymigration/ | +0 | 0 replies | |
| 6/7 | migration/multifd: Cleanup src flushes on condition checkmigration/ migration/ migration/ | +47 | 1 reply | |
| 7/7 | migration/multifd: Document the reason to sync for save_setup()migration/ | +25 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Fabiano Rosas |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] migration/multifd: Some VFIO / postcopy preparations on flush
CI: https://gitlab.com/peterx/qemu/-/pipelines/1577280033
(note: it's a pipeline of two patchsets, to save CI credits and time)
v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]
v3 changelog:
- R-bs collected
- Update commit message of patch 1 [Fabiano]
- English updates [Fabiano]
- Update comment for MULTIFD_SYNC_ALL [Fabiano]
- In multifd_send_sync_main(), assert on req type [Fabiano]
- Some more comments and cleanup for RAM_SAVE_FLAG_* movement [Fabiano]
- Update the last document patch [Fabiano]
This series provides some changes that may be helpful for either VFIO or postcopy integration on top of multifd.
For VFIO, only patches 1 & 2 are relevant.
For postcopy, it's about patches 3-7, but it needs to be based on 1+2 because of a context dependency.
All these patches can be seen as cleanups / slight optimizations on top of master branch with/without the VFIO/postcopy work.
Besides CI, qtests, and some real-world multifd tests just to monitor the sync events happen all correct, I made sure to cover 7.2 machine type (which uses the legacy sync) so it still works as before - basically sync will be more frequent, but all thing keeps working smoothly so far.
Thanks,
Peter Xu (7):
migration/multifd: Further remove the SYNC on complete migration/multifd: Allow to sync with sender threads only migration/ram: Move RAM_SAVE_FLAG* into ram.h migration/multifd: Unify RAM_SAVE_FLAG_MULTIFD_FLUSH messages migration/multifd: Remove sync processing on postcopy migration/multifd: Cleanup src flushes on condition check migration/multifd: Document the reason to sync for save_setup()
migration/multifd.h | 27 ++++++++++-- migration/ram.h | 28 ++++++++++++ migration/rdma.h | 7 --- migration/multifd-nocomp.c | 74 ++++++++++++++++++++++++++++++- migration/multifd.c | 17 +++++--- migration/ram.c | 89 +++++++++++++++++--------------------- 6 files changed, 173 insertions(+), 69 deletions(-)
Signature · 1 line
2.47.0