diff --git a/lib/iscsi/conn.c b/lib/iscsi/conn.c index 85816d659..69b5a54b3 100644 --- a/lib/iscsi/conn.c +++ b/lib/iscsi/conn.c @@ -813,6 +813,8 @@ process_read_task_completion(struct spdk_iscsi_conn *conn, spdk_iscsi_task_put(task); } process_completed_read_subtask_list(conn, primary); + + spdk_iscsi_conn_handle_queued_datain_tasks(conn); } void @@ -1175,8 +1177,6 @@ spdk_iscsi_conn_execute(struct spdk_iscsi_conn *conn) return -1; } - spdk_iscsi_conn_handle_queued_datain_tasks(conn); - return 0; }