RFC block: Add flush after metadata writes
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: Add bdrv_(p)write_syncblock.c block.h | +41 | 0 replies | |
| 2/2 | qcow2: Use bdrv_(p)write_sync for metadata writesblock/ block/ block/ +1 more | +29 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC][PATCH 0/2] block: Add flush after metadata writes
This addresses the data integrity problems described at
http://wiki.qemu.org/Features/Qcow2DataIntegrity#Metadata_update_ordering.2C_Part_2
These problems are the same for all image formats (except raw, which doesn't have any metadata), so I'm going to add more patches for the other formats for the real patch submission.
Kevin Wolf (2):
block: Add bdrv_(p)write_sync
qcow2: Use bdrv_(p)write_sync for metadata writes
block.c | 37 +++++++++++++++++++++++++++++++++++++ block.h | 4 ++++ block/qcow2-cluster.c | 16 ++++++++-------- block/qcow2-refcount.c | 18 +++++++++--------- block/qcow2-snapshot.c | 14 +++++++------- block/qcow2.c | 10 +++++----- 6 files changed, 70 insertions(+), 29 deletions(-)