Re: [Qemu-devel] Question about drive mirror

2014-01-14 Thread rudy...@163.com
ngmin; qemu-devel Subject: Re: [Qemu-devel] Question about drive mirror On Tue, Jan 14, 2014 at 09:41:41AM +0800, Fam Zheng wrote: > On Mon, 01/13 23:44, rudy...@163.com wrote: > > I tested the capability of drive mirror, I found the IO is low. Then I read > > the code, > > The c

Re: [Qemu-devel] Question about drive mirror

2014-01-13 Thread Stefan Hajnoczi
On Tue, Jan 14, 2014 at 09:41:41AM +0800, Fam Zheng wrote: > On Mon, 01/13 23:44, rudy...@163.com wrote: > > 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 > >

Re: [Qemu-devel] Question about drive mirror

2014-01-13 Thread Fam Zheng
On Mon, 01/13 23:44, rudy...@163.com wrote: > 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

[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