[Qemu-devel] [PATCH] block/iscsi: use a bh to schedule co reentrance

2013-12-14 Thread Peter Lieven
this fixes a potential segfault and performance regression. If the coroutine is reentered directly in the iscsi_co_generic_cb iscsi_process_{read,write} are interrupted and reentered any time later. One the one hand this could happen after an iscsi_close where the iscsi context is already gone (se

Re: [Qemu-devel] [PATCH] block/iscsi: use a bh to schedule co reentrance

2013-12-16 Thread Paolo Bonzini
Il 14/12/2013 17:31, Peter Lieven ha scritto: > this fixes a potential segfault and performance regression. > > If the coroutine is reentered directly in the iscsi_co_generic_cb > iscsi_process_{read,write} are interrupted and reentered any > time later. One the one hand this could happen after an