qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Question about drive mirror
@ 2014-01-13 15:44 rudyfly
  2014-01-14  1:41 ` Fam Zheng
  0 siblings, 1 reply; 4+ messages in thread
From: rudyfly @ 2014-01-13 15:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: rudy.zhangmin

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

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 storage, It is serial. 
Now, I hope when it is writing the data to target storage ,we can send the request 
of reading data from source storage. Because of  using  coroutine to do it ,there is 
some troubles to achieve it. why not use Multi-thread? 
Some one can give me some idea?
Thanks.




zhang min

[-- Attachment #2: Type: text/html, Size: 1550 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-14 15:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 15:44 [Qemu-devel] Question about drive mirror rudyfly
2014-01-14  1:41 ` Fam Zheng
2014-01-14  5:57   ` Stefan Hajnoczi
2014-01-14 15:55     ` rudyfly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).