Update the netbsd-iscsi-initiator and netbsd-iscsi-target packages to

version 20071205.

Fix the bug where multiple targets appeared as one. With huge thanks to
Greg Oster for his work in squashing this one.

        Module Name:    src
        Committed By:   oster
        Date:           Tue Dec  4 16:25:37 UTC 2007

        Modified Files:
                src/dist/iscsi/src: disk.c

        Log Message:
        Set "lun = sess->d" early on (but not too early), and allow multiple
        targets to now work correctly.  XXX: This will need to be re-visited
        at some point, and fixed properly.

        Commit requested by: agc


        To generate a diff of this commit:
        cvs rdiff -r1.34 -r1.35 src/dist/iscsi/src/disk.c


Also, the initiator has been modified to attach to multiple targets,
again thanks to Greg Oster.

        Module Name:    src
        Committed By:   oster
        Date:           Tue Dec  4 16:22:39 UTC 2007

        Modified Files:
                src/share/examples/refuse/iscsi-initiator: iscsifs.c

        Log Message:
        Add a '-D' option to allow "Discovery" of the targets provided by a host.

        Initial support for multiple targets from the same host.

        Base 'MaxTargets' on a #define, rather than hard-coding.

        Reviewed by: agc
This commit is contained in:
agc 2007-12-05 08:46:36 +00:00
parent bb51b9648c
commit d57bc62b4b
4 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2007/11/30 10:55:05 agc Exp $
# $NetBSD: Makefile,v 1.4 2007/12/05 08:46:36 agc Exp $
DISTNAME= netbsd-iscsi-20071130
DISTNAME= netbsd-iscsi-20071205
PKGNAME= ${DISTNAME:C/-iscsi/-iscsi-initiator/}
CATEGORIES= devel
MASTER_SITES= http://www.alistaircrooks.co.uk/src/

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2007/11/30 10:55:05 agc Exp $
$NetBSD: distinfo,v 1.5 2007/12/05 08:46:36 agc Exp $
SHA1 (netbsd-iscsi-20071130.tar.gz) = 27ada579c5d175557fba8b22752202d485141b10
RMD160 (netbsd-iscsi-20071130.tar.gz) = 854518ab0748fef6b84e0e5614637255e5a6b9d0
Size (netbsd-iscsi-20071130.tar.gz) = 256596 bytes
SHA1 (netbsd-iscsi-20071205.tar.gz) = 1ac1f9d137ccd229afcadcbd890d8ad5abc25996
RMD160 (netbsd-iscsi-20071205.tar.gz) = ad95f600d7d5dbd38ead0a23dec37962ef9249d4
Size (netbsd-iscsi-20071205.tar.gz) = 258411 bytes
SHA1 (patch-aa) = e86b7400cc472a31a5cf2457924af3d7d5c4b0c3

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2007/11/30 10:55:05 agc Exp $
# $NetBSD: Makefile,v 1.4 2007/12/05 08:46:36 agc Exp $
DISTNAME= netbsd-iscsi-20071130
DISTNAME= netbsd-iscsi-20071205
PKGNAME= ${DISTNAME:C/-iscsi/-iscsi-target/}
CATEGORIES= devel
MASTER_SITES= http://www.alistaircrooks.co.uk/src/

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2007/11/30 10:55:05 agc Exp $
$NetBSD: distinfo,v 1.5 2007/12/05 08:46:37 agc Exp $
SHA1 (netbsd-iscsi-20071130.tar.gz) = 27ada579c5d175557fba8b22752202d485141b10
RMD160 (netbsd-iscsi-20071130.tar.gz) = 854518ab0748fef6b84e0e5614637255e5a6b9d0
Size (netbsd-iscsi-20071130.tar.gz) = 256596 bytes
SHA1 (netbsd-iscsi-20071205.tar.gz) = 1ac1f9d137ccd229afcadcbd890d8ad5abc25996
RMD160 (netbsd-iscsi-20071205.tar.gz) = ad95f600d7d5dbd38ead0a23dec37962ef9249d4
Size (netbsd-iscsi-20071205.tar.gz) = 258411 bytes
SHA1 (patch-aa) = e86b7400cc472a31a5cf2457924af3d7d5c4b0c3