Re: [Qemu-devel] [PATCH] qcow2: Unlock during COW

2011-09-22 Thread Frediano Ziglio
2011/9/19 Kevin Wolf : > Unlocking during COW allows for more parallelism. One change it requires is > that buffers are dynamically allocated instead of just using a per-image > buffer. > > While touching the code, drop the synchronous qcow2_read() function and > replace > it by a bdrv_read() call

[Qemu-devel] [PATCH] qcow2: Unlock during COW

2011-09-19 Thread Kevin Wolf
Unlocking during COW allows for more parallelism. One change it requires is that buffers are dynamically allocated instead of just using a per-image buffer. While touching the code, drop the synchronous qcow2_read() function and replace it by a bdrv_read() call. Signed-off-by: Kevin Wolf --- bl