[Qemu-devel] Question about drive mirror

2014-01-13 Thread rudy...@163.com
Hi,everyone. I tested the capability of drive mirror, I found the IO is low. Then I read the code, The code mirror_run() will call mirror_iteration() to read the size of buffer data from source storage, when the read callback ,and then in mirror_read_complete () write the data to the target

Re: [Qemu-devel] Question about drive mirror

2014-01-14 Thread rudy...@163.com
ading requestion. I think each iteration send the number of data should base on the granularity ,we can set the granularity is 1M. This way may be let the reading and writing is parallel. zhang min From: Stefan Hajnoczi Date: 2014-01-14 13:57 To: Fam Zheng CC: rudy...@163.com; rudy.zha