diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-02 10:45:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-15 11:20:42 +0200 |
commit | 00e3cccdf413eb1093d8e9f26588da0fc82fa55f (patch) | |
tree | 8aa15803b0b288f7aa818a08aaf21cdbd51bb764 /block | |
parent | 396ce7b94eef57194740347a011b9bed355e39b2 (diff) |
iscsi: fix busy/timeout/task set full
In this case, do_retry was set without calling aio_co_wake, thus never
waking up the coroutine.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/iscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/iscsi.c b/block/iscsi.c index 267f160bf6..6e238bf0ad 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -272,7 +272,7 @@ iscsi_co_generic_cb(struct iscsi_context *iscsi, int status, timer_mod(&iTask->retry_timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + retry_time); iTask->do_retry = 1; - return; + goto out; } } iTask->err_code = iscsi_translate_sense(&task->sense); |