qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block/iscsi: introduce bdrv_co_{readv, writev,


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk}
Date: Tue, 8 Oct 2013 14:33:15 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 02.10.2013 um 17:46 hat Paolo Bonzini geschrieben:
> Il 02/10/2013 17:41, Peter Lieven 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.

And the lines deleted/inserted are much in favour of this patch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]