From: jd Subject: Re: 1st REVIEW : UNH iSCSI for 2.6-test5 Date: Fri, 26 Sep 2003 04:27:46 -0700 (PDT) Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20030926112746.95211.qmail@web60202.mail.yahoo.com> References: <3F71C1CA.5030004@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from web60202.mail.yahoo.com ([216.109.118.97]:48718 "HELO web60202.mail.yahoo.com") by vger.kernel.org with SMTP id S262057AbTIZL1r (ORCPT ); Fri, 26 Sep 2003 07:27:47 -0400 In-Reply-To: <3F71C1CA.5030004@pobox.com> List-Id: linux-scsi@vger.kernel.org To: Jeff Garzik , linux-scsi@vger.kernel.org --- Jeff Garzik wrote: > jd wrote: > > Hi, > > > > Available for first Review & Comments. > > > > The UNH iSCSI Project, a collaborative effort between the > > UNH IOL and Hewlett Packard Company in Austin, Texas, > > ( hosted at http://sourceforge.net/projects/unh-iscsi ) > > to produce a full feature, generic iSCSI implementation , > > has ported the 2.4.18/20 version of the iSCSI initiator to > > Linux 2.6.test5 Kernel for consideration of inclusion for > > future distribution. > > > > A patch file is available for review at: > > > > http://www.parisc-linux.org/~jpd/ > > > > Files included in the patch : > > > > drivers/scsi/Makefile > > drivers/scsi/Kconfig > > drivers/scsi/unh_iscsi > > drivers/scsi/unh_iscsi/initiator # HBA & Data mover > > drivers/scsi/unh_iscsi/common # Login and shared files > > drivers/scsi/unh_iscsi/security $ SRP and CHAP login > > > > Please submit comments to : > > > > linux-scsi@vger.kernel.org > > Please don't mangle or otherwise use non-RFC email addresses. When > you > use your normal email address somewhere in the email _anyway_, you're > > annoying valid users while doing nothing to defeat spammers. > > > comments: > > * use generic facility for crc32 > > * most of the formatting looks good, but some of it looks crazy, like > > > + add_length = scan_table_and_process(sock, > > + p_param_tbl, > > + SECURITY_PARAM | INFORMATIONAL_PARAM, > > + INITIATOR, > > + inputpdu, > > + outputpdu, > > + connection_flags, login_flags); > > * indeed, this needs to be legible to people w/ 80-column screens > > * I disagree with the need for "my_kmalloc" and "my_kfree". Ditch > the > allocator and directly use the kernel counterparts. > > * function prototypes should use "u32" not "__u32" forms. Ditto for > other kernel-internal structures. > > * string_llx is not needed. use sprintf. > > * verbosely dumping scsi ops is something that should be more generic > > (or removed) > > * authentication should be offloaded to a daemon, as NFSv4 did > > * I got tired of scrolling right to read code, at this point > Thanks for the feedback. We're aleady aware of these issues , and unfortunately the first couple of files in common/* that you got tired of scrolling through will be eliminated eventually anyway. ;) . They happen to be shared with other components that are not in consideration for inclusion. John Donnelly. __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com