qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/3] qcow2: Rewrite alloc_refcount_block


From: Kevin Wolf
Subject: [Qemu-devel] [PATCH v2 0/3] qcow2: Rewrite alloc_refcount_block
Date: Tue, 23 Feb 2010 16:40:51 +0100

The current implementation of alloc_refcount_block and grow_refcount_table has
fundamental problems regarding error handling. There are some places where an
I/O error means that the image is going to be corrupted. I have found that the
only way to fix this is to completely rewrite the thing.

v2:
Addresses Juan's review comments:
- Simplified next_refcount_table_size
- Fixed alloc_refcount_block

Kevin Wolf (3):
  qcow2: Factor next_refcount_table_size out
  qcow2: Rewrite alloc_refcount_block/grow_refcount_table
  qcow2: More checks for qemu-img check

 block/qcow2-refcount.c |  346 ++++++++++++++++++++++++++++++++++-------------
 1 files changed, 250 insertions(+), 96 deletions(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]