]> git.proxmox.com Git - qemu.git/commit
iscsi: retry read, write, flush and unmap on unit attention check conditions
authorPeter Lieven <pl@dlhnet.de>
Thu, 21 Feb 2013 15:15:54 +0000 (16:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Mar 2013 16:51:50 +0000 (17:51 +0100)
commit1dde716ed6719c341c1bfa427781f0715af90cbc
tree07bee51d3b13cb1ec2ad646eacf6507e5aaca191
parent76c48503c4c87afabf0c93acf78480f65276844d
iscsi: retry read, write, flush and unmap on unit attention check conditions

the storage might return a check condition status for various reasons.
(e.g. bus reset, capacity change, thin-provisioning info etc.)

currently all these informative status responses lead to an I/O error
which is populated to the guest. this patch introduces a retry mechanism
to avoid this.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/iscsi.c