block/iscsi: handle BUSY condition
Quoted 6 lines · Peter Lieven
this patch adds handling of BUSY status reponse from an iSCSI target. Currently, we fail with
-EIOin case ofSCSI_STATUS_BUSYwhile 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_contextfor 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