|
@@ -190,7 +190,7 @@ iscsi_iser_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task)
|
|
|
{
|
|
|
int error = 0;
|
|
|
|
|
|
- iser_dbg("task deq [cid %d itt 0x%x]\n", conn->id, task->itt);
|
|
|
+ iser_dbg("mtask xmit [cid %d itt 0x%x]\n", conn->id, task->itt);
|
|
|
|
|
|
error = iser_send_control(conn, task);
|
|
|
|
|
@@ -200,9 +200,6 @@ iscsi_iser_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task)
|
|
|
* - if yes, the task is recycled at iscsi_complete_pdu
|
|
|
* - if no, the task is recycled at iser_snd_completion
|
|
|
*/
|
|
|
- if (error && error != -ENOBUFS)
|
|
|
- iscsi_conn_failure(conn, ISCSI_ERR_CONN_FAILED);
|
|
|
-
|
|
|
return error;
|
|
|
}
|
|
|
|
|
@@ -254,7 +251,7 @@ iscsi_iser_task_xmit(struct iscsi_task *task)
|
|
|
task->imm_count, task->unsol_r2t.data_length);
|
|
|
}
|
|
|
|
|
|
- iser_dbg("task deq [cid %d itt 0x%x]\n",
|
|
|
+ iser_dbg("ctask xmit [cid %d itt 0x%x]\n",
|
|
|
conn->id, task->itt);
|
|
|
|
|
|
/* Send the cmd PDU */
|
|
@@ -270,8 +267,6 @@ iscsi_iser_task_xmit(struct iscsi_task *task)
|
|
|
error = iscsi_iser_task_xmit_unsol_data(conn, task);
|
|
|
|
|
|
iscsi_iser_task_xmit_exit:
|
|
|
- if (error && error != -ENOBUFS)
|
|
|
- iscsi_conn_failure(conn, ISCSI_ERR_CONN_FAILED);
|
|
|
return error;
|
|
|
}
|
|
|
|
|
@@ -423,7 +418,7 @@ iscsi_iser_session_create(struct iscsi_endpoint *ep,
|
|
|
struct Scsi_Host *shost;
|
|
|
struct iser_conn *ib_conn;
|
|
|
|
|
|
- shost = iscsi_host_alloc(&iscsi_iser_sht, 0, 1);
|
|
|
+ shost = iscsi_host_alloc(&iscsi_iser_sht, 0, 0);
|
|
|
if (!shost)
|
|
|
return NULL;
|
|
|
shost->transportt = iscsi_iser_scsi_transport;
|