[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC][PATCH 0/2] block: Add flush after metadata writes
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [RFC][PATCH 0/2] block: Add flush after metadata writes |
Date: |
Thu, 17 Jun 2010 14:03:29 +0200 |
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(-)
- [Qemu-devel] [RFC][PATCH 0/2] block: Add flush after metadata writes,
Kevin Wolf <=