iscsi: change name of function spdk_iscsi_conn_handle_queued_tasks
Reason: It only handles the queue datain tasks. After the changing, it would be more accurate for the code reading. Change-Id: I87999f811810cadd4b58d99be1cdeba0a1a7503f Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/392719 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
1b7ce80530
commit
57199e1e89
@ -1422,7 +1422,7 @@ spdk_iscsi_conn_execute(struct spdk_iscsi_conn *conn)
|
||||
}
|
||||
}
|
||||
|
||||
spdk_iscsi_conn_handle_queued_tasks(conn);
|
||||
spdk_iscsi_conn_handle_queued_datain_tasks(conn);
|
||||
|
||||
if (conn_active) {
|
||||
return 1;
|
||||
|
@ -2900,7 +2900,7 @@ static void spdk_iscsi_queue_mgmt_task(struct spdk_iscsi_conn *conn,
|
||||
spdk_scsi_dev_queue_mgmt_task(conn->dev, &task->scsi, func);
|
||||
}
|
||||
|
||||
int spdk_iscsi_conn_handle_queued_tasks(struct spdk_iscsi_conn *conn)
|
||||
int spdk_iscsi_conn_handle_queued_datain_tasks(struct spdk_iscsi_conn *conn)
|
||||
{
|
||||
struct spdk_iscsi_task *task;
|
||||
|
||||
@ -2978,7 +2978,7 @@ static int spdk_iscsi_op_scsi_read(struct spdk_iscsi_conn *conn,
|
||||
|
||||
TAILQ_INSERT_TAIL(&conn->queued_datain_tasks, task, link);
|
||||
|
||||
return spdk_iscsi_conn_handle_queued_tasks(conn);
|
||||
return spdk_iscsi_conn_handle_queued_datain_tasks(conn);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -361,7 +361,7 @@ void spdk_iscsi_task_mgmt_cpl(struct spdk_scsi_task *scsi_task);
|
||||
/* Memory management */
|
||||
void spdk_put_pdu(struct spdk_iscsi_pdu *pdu);
|
||||
struct spdk_iscsi_pdu *spdk_get_pdu(void);
|
||||
int spdk_iscsi_conn_handle_queued_tasks(struct spdk_iscsi_conn *conn);
|
||||
int spdk_iscsi_conn_handle_queued_datain_tasks(struct spdk_iscsi_conn *conn);
|
||||
|
||||
static inline int
|
||||
spdk_get_immediate_data_buffer_size(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user