Skip to contentSkip to conversation

block/iscsi: handle BUSY condition

PATCH Stefan Hajnoczi 1 participant 1 message Jun 4, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Peter Lieven

this patch adds handling of BUSY status reponse from an iSCSI target. Currently, we fail with -EIO in case of SCSI_STATUS_BUSY while the obvious reaction would be to retry the operation after some time. The retry time is randomly choosen from a range with exponential growth increasing with each retry.

Quoted 8 lines

This patch includes most of the changes by a an upcoming patch from Stefan Hajnoczi:

iscsi: implement .bdrv_detach/attach_aio_context()

because I also need the reference to the aio_context for the retry timer to work. I included the changes to maintain better mergeability.

You can now rebase on git://github.com/stefanha/qemu.git block.

I think this will make the patch easier to review because it contains the dependency you squashed in.

Stefan