migration: Better error handling in rp thread, allow failures in recover
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 11 repliesIn review
- v310 patches 24 repliesSuperseded
- v211 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 9 patches | 9 replies | Superseded |
Changes in v4 from the cover letter
- Some patches merged, reposting the rest patches
- Fixed a bug in the new test case reported by Fabiano
- Try to keep close_return_path_on_source() return a value (even though it still fetches from migrate_has_error)
- Two more patches added to cleanup retval of rp thread functions
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | migration: Refactor error handling in source return pathmigration/ migration/ migration/ +4 more | +80 | 2 replies | |
| 2/5 | migration: Allow network to fail even during recoverymigration/ migration/ migration/ | +67 | 2 replies | |
| 3/5 | tests/migration-test: Add a test for postcopy hangs during RECOVERtests/ | +96 | 3 replies | |
| 4/5 | migration: Change ram_dirty_bitmap_reload() retval to boolmigration/ migration/ migration/ | +22 | 2 replies | |
| 5/5 | migration: Change ram_save_queue_pages() retval to boolmigration/ migration/ migration/ | +19 | 2 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Fabiano Rosas | Juan Quintela |
|---|---|---|
| 1/5 | R-b | R-b |
| 2/5 | R-b | R-b |
| 3/5 | ||
| 4/5 | R-b | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] migration: Better error handling in rp thread, allow failures in recover
v4:
- Some patches merged, reposting the rest patches
- Fixed a bug in the new test case reported by Fabiano
- Try to keep close_return_path_on_source() return a value (even though it still fetches from migrate_has_error)
- Two more patches added to cleanup retval of rp thread functions
v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]
v3: https://lore.kernel.org/r/[email protected]
This series allow better error handling in the postcopy return path thread, so that we'll start to store the errors in MigrationState and can be seen from query-migrate later, comparing to before where we do error_report() and never remember the error.
Meanwhile, it allows double-failures to happen during postcopy recovery, IOW, one can fail again right during RECOVER phase on both sides, even if RECOVER phase should be an extremely small window.
Please have a look, thanks.
Fabiano Rosas (1):
tests/migration-test: Add a test for postcopy hangs during RECOVER
Peter Xu (4):
migration: Refactor error handling in source return path
migration: Allow network to fail even during recovery
migration: Change ram_dirty_bitmap_reload() retval to bool
migration: Change ram_save_queue_pages() retval to bool
migration/migration.h | 9 +- migration/qemu-file.h | 1 + migration/ram.h | 5 +- migration/migration.c | 190 +++++++++++++++++++++-------------- migration/qemu-file.c | 2 +- migration/ram.c | 75 +++++++------- tests/qtest/migration-test.c | 102 +++++++++++++++++-- migration/trace-events | 4 +- 8 files changed, 261 insertions(+), 127 deletions(-)
Signature · 1 line
2.41.0