block, migration: improve debugging of migration bdrv_flush failure
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | migration: add trace point when vm_stop_force_state failsmigration/ migration/ | +2 | 1 reply | |
| 2/5 | softmmu: add trace point when bdrv_flush_all failssoftmmu/ softmmu/ | +9 | 1 reply | |
| 3/5 | block: preserve errno from fdatasync failuresblock/ | +3 | 0 replies | |
| 4/5 | block: add trace point when fdatasync failsblock/ block/ | +3 | 1 reply | |
| 5/5 | block: remove duplicate trace.h includeblock/ | +0 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Dr. David Alan Gilbert | Connor Kuehl |
|---|---|---|
| Series | R-b | |
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | ||
| 4/5 | 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 0/5] block, migration: improve debugging of migration bdrv_flush failure
I spent a while debugging a tricky migration failure today which was ultimately caused by fdatasync() getting EACCESS. The existing probes were not sufficient to diagnose this, so I had to resort to GDB. This improves probes and block error reporting to make future diagnosis possible without GDB.
Daniel P. Berrangé (5):
migration: add trace point when vm_stop_force_state fails
softmmu: add trace point when bdrv_flush_all fails
block: preserve errno from fdatasync failures
block: add trace point when fdatasync fails
block: remove duplicate trace.h include
block/file-posix.c | 10 +++++----- block/trace-events | 1 + migration/migration.c | 1 + migration/trace-events | 1 + softmmu/cpus.c | 7 ++++++- softmmu/trace-events | 3 +++ 6 files changed, 17 insertions(+), 6 deletions(-)
Signature · 1 line
2.30.2