diff options
| author | Peter Lieven | 2013-12-14 17:31:40 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2013-12-16 11:25:51 +0100 |
| commit | 8b9dfe9098d91e06a3dd6376624307fe5fa13be8 (patch) | |
| tree | 9802b09cee15c53db368e5351bc0a9055a45433d /scripts/checkpatch.pl | |
| parent | Merge remote-tracking branch 'bonzini/virtio' into staging (diff) | |
| download | qemu-8b9dfe9098d91e06a3dd6376624307fe5fa13be8.tar.gz qemu-8b9dfe9098d91e06a3dd6376624307fe5fa13be8.tar.xz qemu-8b9dfe9098d91e06a3dd6376624307fe5fa13be8.zip | |
block/iscsi: use a bh to schedule co reentrance
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 (segfault). On the
other hand this limits the number of processed callbacks
in each aio_dispatch to one (potential performance regression).
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
