[PATCH] libiscsi: return DID_SOFT_ERROR instead of DID_IMM_RETRY

2009-07-07 Thread Hannes Reinecke
libiscsi is using DID_IMM_RETRY to signal transient error states like IN_RECOVERY or LOGGING_OUT. However, in doing so the command will always be retried with no check for any failfast setting. This doesn't allow multipath to run efficiently if any of these transient error states is taking

Re: [PATCH] libiscsi: return DID_SOFT_ERROR instead of DID_IMM_RETRY

2009-07-07 Thread Mike Christie
Hannes Reinecke wrote: libiscsi is using DID_IMM_RETRY to signal transient error states like IN_RECOVERY or LOGGING_OUT. However, in doing so the command will always be retried with no check for any failfast setting. This doesn't allow multipath to run efficiently if any of these transient