From: "rudyfly@163.com" <rudyfly@163.com>
To: qemu-devel <qemu-devel@nongnu.org>
Cc: "rudy.zhangmin" <rudy.zhangmin@huawei.com>
Subject: [Qemu-devel] Question about drive mirror
Date: Mon, 13 Jan 2014 23:44:09 +0800 [thread overview]
Message-ID: <2014011323440947092624@163.com> (raw)
[-- 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 --]
next reply other threads:[~2014-01-13 15:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 15:44 rudyfly [this message]
2014-01-14 1:41 ` [Qemu-devel] Question about drive mirror Fam Zheng
2014-01-14 5:57 ` Stefan Hajnoczi
2014-01-14 15:55 ` rudyfly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2014011323440947092624@163.com \
--to=rudyfly@163.com \
--cc=qemu-devel@nongnu.org \
--cc=rudy.zhangmin@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).