From: Fam Zheng <famz@redhat.com>
To: Dongli Zhang <dongli.zhang@oracle.com>
Cc: Qemu-block <qemu-block@nongnu.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] When AioHandler->is_external=true?
Date: Wed, 21 Nov 2018 13:39:23 +0800 [thread overview]
Message-ID: <20181121053923.GA31447@magic> (raw)
In-Reply-To: <afa43fbb-98e0-f6e7-0d41-e7005501e256@oracle.com>
On Tue, 11/20 20:34, Dongli Zhang wrote:
> Hi,
>
> Would you please help explain in which case AioHandler->is_external is true, and
> when it is false?
>
> I read about iothread and mainloop and I am little bit confused about it.
VirtIO's ioeventfd is an example of is_external == true. It means the events
handler on this fd may initiate more I/O, such as read/write on virtual storage
backend, so are specially taken care of at certain points when we won't want
more I/O requests to be processed, such as when a block job is completing, or in
the middle of a QMP transaction.
Fam
prev parent reply other threads:[~2018-11-21 5:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 12:34 [Qemu-devel] When AioHandler->is_external=true? Dongli Zhang
2018-11-21 5:39 ` Fam Zheng [this message]
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=20181121053923.GA31447@magic \
--to=famz@redhat.com \
--cc=dongli.zhang@oracle.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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).