]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/iscsi: fix deadlock on scsi check condition
authorPeter Lieven <pl@kamp.de>
Tue, 18 Feb 2014 12:08:39 +0000 (13:08 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Jun 2014 16:08:29 +0000 (11:08 -0500)
commit0a77a92d74f98e4898cb54c945ada84768427851
treeca972d5ae7f72474bff43422c67a55baffce3041
parent8b8dd2c4b50abe5647de7c336496c253dc474d3b
block/iscsi: fix deadlock on scsi check condition

the retry logic was broken because the complete status
of the task structure was not reset. this resulted in
an infinite loop retrying the command over and over.

CC: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 837c390137193e715fee20b35c0ddb164b1c4fa4)

Conflicts:
block/iscsi.c

*only modified retry clauses present before 063c3378

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/iscsi.c