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

2010-02-19 Thread Anthony Liguori
On 02/15/2010 10:19 AM, Kevin Wolf wrote: 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 thi

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

2010-02-15 Thread Kevin Wolf
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. Just