Commit a712043
committed
fix(block): make prepare_save() more robust
If prepare_save() fails to drain the io_uring queues (when used) and
sync the host filesystem we might end up with a corrupted disk snapshot.
Currently, Firecracker ignores that, only emitting an error message.
Be more strict and expect no errors, so that we can have a better
post-mortem analysis of what happened.
Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>1 parent 2639f85 commit a712043
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
726 | | - | |
727 | | - | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
728 | 731 | | |
729 | 732 | | |
730 | 733 | | |
| |||
0 commit comments