James Smart wrote:
>
>
>
>
>> @@ -1768,7 +1781,8 @@ static void iscsi_start_session_recovery
>> * flush queues.
>> */
>> spin_lock_bh(&session->lock);
>> -fail_all_commands(conn);
>> +fail_all_commands(conn,
>> +STOP_CONN_RECOVER ? DID_BUS_BUSY : DID_ERROR);
@@ -1768,7 +1781,8 @@ static void iscsi_start_session_recovery
* flush queues.
*/
spin_lock_bh(&session->lock);
- fail_all_commands(conn);
+ fail_all_commands(conn,
+ STOP_CONN_RECOVER ? DID_BUS_BUSY : DID_ERROR);
flush_contr
From: Mike Christie <[EMAIL PROTECTED]>
This patch adds some common iscsi state info to the iscsi class,
so we can view it in sysfs. It also adds a functions to check
the state before we queue IO (like the fc class). libiscsi does
this already internally, so this is moving some libiscsi functional
3 matches
Mail list logo