Update netbsd-iscsi 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.
This commit is contained in:
agc 2007-10-26 22:07:37 +00:00
parent 395efb3154
commit 7109460596
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.19 2007/09/08 12:53:03 agc Exp $
# $NetBSD: Makefile,v 1.20 2007/10/26 22:07:37 agc Exp $
DISTNAME= netbsd-iscsi-20070908
DISTNAME= netbsd-iscsi-20071025
CATEGORIES= devel
MASTER_SITES= http://www.alistaircrooks.co.uk/src/

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.17 2007/09/08 12:53:03 agc Exp $
$NetBSD: distinfo,v 1.18 2007/10/26 22:07:37 agc Exp $
SHA1 (netbsd-iscsi-20070908.tar.gz) = 2afb58a926125e89e904243b4a9d26f45767192b
RMD160 (netbsd-iscsi-20070908.tar.gz) = 88bbf50834ebb9bac0443103f7a01889f6bb11bc
Size (netbsd-iscsi-20070908.tar.gz) = 243997 bytes
SHA1 (netbsd-iscsi-20071025.tar.gz) = 96f2e4824c1e786ed892f184cdb916400bea561d
RMD160 (netbsd-iscsi-20071025.tar.gz) = be100c1e0030f8000e9b4f1579fd66b056e709ed
Size (netbsd-iscsi-20071025.tar.gz) = 247775 bytes
SHA1 (patch-aa) = e86b7400cc472a31a5cf2457924af3d7d5c4b0c3