From: Peter Lieven <pl@kamp.de>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
ronniesahlberg@gmail.com, qemu-devel@nongnu.org,
stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH] block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk}
Date: Mon, 25 Nov 2013 11:56:14 +0100 [thread overview]
Message-ID: <52932CCE.2000501@kamp.de> (raw)
In-Reply-To: <52932C52.9080808@redhat.com>
On 25.11.2013 11:54, Paolo Bonzini wrote:
> Il 25/11/2013 11:47, Peter Lieven ha scritto:
>> On 08.10.2013 14:39, Kevin Wolf wrote:
>>> Am 08.10.2013 um 14:35 hat Paolo Bonzini geschrieben:
>>>> Il 08/10/2013 14:33, Kevin Wolf ha scritto:
>>>>>>>>> this converts read, write and flush functions from aio to
>>>>>>>>> coroutines.
>>>>>>> I'm not sure it's already the time for this... Cancellation sucks in
>>>>>>> QEMU, and this is going to make things even worse.
>>>>> Not sure what you're referring to. If you mean iscsi_aio_cancel(),
>>>>> isn't
>>>>> it dead code anyway since we changed block.c to use coroutines for
>>>>> everything? bdrv_co_io_em() even throws the acb away, so even if you
>>>>> wanted, there's no way to cancel the request even today.
>>>> SCSI tries to use cancellation, and this results in VCPU threads
>>>> starving all other threads. So I would like to introduce cancellation
>>>> points for coroutines.
>>> Sounds like a nice thing to have, but it's unrelated to this patch.
>>> Cancellation means waiting for request completion before and after the
>>> patch.
>> Can we proceed with the above patch for 1.8?
> Yes, thanks.
Will you pull it or shall I rebase and sent it again after 1.7.0 release?
Peter
next prev parent reply other threads:[~2013-11-25 10:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-02 15:41 [Qemu-devel] [PATCH] block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk} Peter Lieven
2013-10-02 15:46 ` Paolo Bonzini
2013-10-02 15:54 ` Peter Lieven
2013-10-02 15:55 ` Paolo Bonzini
2013-10-02 15:57 ` Peter Lieven
2013-10-08 12:33 ` Kevin Wolf
2013-10-08 12:35 ` Paolo Bonzini
2013-10-08 12:39 ` Kevin Wolf
2013-10-11 7:35 ` Peter Lieven
2013-11-25 10:47 ` Peter Lieven
2013-11-25 10:54 ` Paolo Bonzini
2013-11-25 10:56 ` Peter Lieven [this message]
2013-11-25 10:57 ` Paolo Bonzini
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=52932CCE.2000501@kamp.de \
--to=pl@kamp.de \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=ronniesahlberg@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.