Skip to content
Snippets Groups Projects
Commit 00e3cccd authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 396ce7b9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment