Olaf Kirch wrote: > On Wednesday 18 April 2007 17:38, Mike Christie wrote: >> Could you send the trace? It is weird that we would get a storm of data >> out commands for a IO that was only 4096 bytes (assuming part of the log >> did not get cut off and the above line is the last one). > > It turns out max_xmit_dlength was 0, hence it kept looping > forever in an attempt to chop a 4096 byte payload into an > infinite number of 0-sized pieces :-) > > It turns out there was an old iscsid in $PATH that spoke an > older netlink dialect, so any parameters set by iscsid never > reached the iscsi transport, and the connection essentially went > unconfigured. > > So, how about some consistency checks prior to connecting? > I'll submit a patch if you'd be willing to consider it. > Ok send it. I added checks in userspace to make sure we got valid input from users. This is in the svn code. In the kernel I only added minimal checking for invalid burst length settings we could get from some targets iscsi_conn_start. In the kernel I would add on to them. - 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