From: Stefan Hajnoczi <stefanha@gmail.com>
To: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context
Date: Tue, 12 Mar 2013 10:01:58 +0100 [thread overview]
Message-ID: <20130312090158.GA19174@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1363071943-29248-1-git-send-email-morita.kazutaka@lab.ntt.co.jp>
On Tue, Mar 12, 2013 at 04:05:41PM +0900, MORITA Kazutaka wrote:
> This patch prevents the sheepdog driver from sleeping in coroutine
> context long time.
>
> The first patch makes the driver use a non-blocking socket and the
> second one fixes a bug that yielded coroutines aren't entered.
>
> Changes from v2:
> - add a patch to use non-blocking fd
> - add explanation why it is safe to io_flush to NULL
>
>
> MORITA Kazutaka (2):
> sheepdog: use non-blocking fd in coroutine context
> sheepdog: set io_flush handler in do_co_req
>
> block/sheepdog.c | 19 +++++++++++++------
> 1 file changed, 13 insertions(+), 6 deletions(-)
>
> --
> 1.8.1.3.566.gaa39828
>
>
Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next
Stefan
prev parent reply other threads:[~2013-03-12 9:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 7:05 [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context MORITA Kazutaka
2013-03-12 7:05 ` [Qemu-devel] [PATCH v2 1/2] sheepdog: use non-blocking fd " MORITA Kazutaka
2013-03-12 7:05 ` [Qemu-devel] [PATCH v2 2/2] sheepdog: set io_flush handler in do_co_req MORITA Kazutaka
2013-03-12 9:01 ` Stefan Hajnoczi [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=20130312090158.GA19174@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=kwolf@redhat.com \
--cc=morita.kazutaka@lab.ntt.co.jp \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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).