@@ -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_control_queues(session, conn); spin_unlock_bh(&session->lock);
I'm assuming you do not support error recovery level 2, right ?
+int iscsi_session_chkready(struct iscsi_cls_session *session)
...
+EXPORT_SYMBOL_GPL(iscsi_session_chkready);
Any reason this isn't an inline ? - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html