Subject: CVS commit: src/dist/iscsi
To: None <source-changes@NetBSD.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 10/26/2007 18:36:48
Module Name:	src
Committed By:	agc
Date:		Fri Oct 26 18:36:48 UTC 2007

Modified Files:
	src/dist/iscsi/include: config.h initiator.h iscsi.h storage.h target.h
	    tests.h
	src/dist/iscsi/src: configure configure.ac disk.c initiator.c
	    iscsi-harness.8 iscsi-harness.c target.c tests.c

Log Message:
Update to version 20071025

Pay closer attention to the TSIH value that is assigned by the target -
rather than a simple (session id + 1) value, which cycles after 16 sessions
are used, use a central counter, and increment that whenever a TSIH is
apportioned. This fixes some problems for me with multiple targets being
ignored, and only the first target being used. Tested with the Microsoft
initiator, and the embryonic NetBSD initiator.

Use more enumerated types, rather than cpp definitions.

Use enumerated types also in preference to magic numbers.

In the iSCSI test harness, use the -t argument to specify a disk target
exported by the NetBSD iSCSI target. This allows us to test for the
situation outlined above.

Add my copyright to the test harness - there's no Intel code left anymore.

Modify the way initiator login and logout information is presented to the
user. This is only of concern to people who use this with the target in
non-detached (non-daemon) mode.

Get rid of the MODE_SENSE_10 and MODE_SELECT_10 cases in the disk switch,
since they do not return responses in the correct format yet.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/dist/iscsi/include/config.h
cvs rdiff -r1.5 -r1.6 src/dist/iscsi/include/initiator.h
cvs rdiff -r1.2 -r1.3 src/dist/iscsi/include/iscsi.h
cvs rdiff -r1.3 -r1.4 src/dist/iscsi/include/storage.h
cvs rdiff -r1.7 -r1.8 src/dist/iscsi/include/target.h
cvs rdiff -r1.1.1.1 -r1.2 src/dist/iscsi/include/tests.h
cvs rdiff -r1.19 -r1.20 src/dist/iscsi/src/configure \
    src/dist/iscsi/src/configure.ac
cvs rdiff -r1.29 -r1.30 src/dist/iscsi/src/disk.c
cvs rdiff -r1.14 -r1.15 src/dist/iscsi/src/initiator.c
cvs rdiff -r1.4 -r1.5 src/dist/iscsi/src/iscsi-harness.8
cvs rdiff -r1.10 -r1.11 src/dist/iscsi/src/iscsi-harness.c
cvs rdiff -r1.20 -r1.21 src/dist/iscsi/src/target.c
cvs rdiff -r1.11 -r1.12 src/dist/iscsi/src/tests.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.