Commit 38fb2302 authored by Ziye Yang's avatar Ziye Yang Committed by Daniel Verkamp
Browse files

lib/iscsi: move location of spdk_iscsi_conn_handle_queued_datain_tasks



The better location is to put this function in
the end of process_read_task_completion which can match
the the same function call in spdk_iscsi_op_scsi_read.

Change-Id: I7dbfb23e2c469e0be22e148299643a99b93c8018
Signed-off-by: default avatarZiye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/401985


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent f697ca08
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}