On Sat, Sep 19, 2009 at 12:01 AM, Peter Cudhea <[email protected]> wrote: > Were you able to make progress with this? Based on a quick scan of the code, > you may need to look at the following links: > > 1) SCMD_WRITE_VERIFY. I am not an expert in this area of the code, but it > looks like you could add support for SCMD_WRITE_VERIFY to the following > routine. You may also need to modify the code that calls this routine. > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/sbd_scsi.c#472 > > Would you be willing to open an RFE in category solaris/storage_sw/sbd that > details the requirement for the SCMD_WRITE_VERIFY command and perhaps how to > test it? Or would you like to have a sponsor so that you can put back the > change yourself? We cannot test all the initiators out there, and simple > changes like this that allow us to be compatible with an important class of > initiators are worth doing. > > 2) Including the port number in the SendTargets response. Looks like it is > already handled: > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/comstar/port/iscsit/iscsit_text.c#iscsit_add_portal >
Yes, IIRC this had been done specifically to address HP-UX initiator compatibility issue. Regards, Andrey > > Peter > > > Albert Chin wrote: > > We're interested in moving from iscsitgtd to COMSTAR. But, we've > modified iscsitgtd to support AIX 5.x, 6.x (make SCMD_WRITE_VERIFY like > SCMD_WRITE_G1) initiators and HP-UX 11.23 initiators (report target port > number in TargetAddress response). I've attached our patch. What files > would I need to modify to move this patch to COMSTAR? > > cf: > > http://mail.opensolaris.org/pipermail/storage-discuss/2008-September/004794.html > > http://mail.opensolaris.org/pipermail/storage-discuss/2008-June/004264.html > > > > ________________________________ > _______________________________________________ > storage-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/storage-discuss > > _______________________________________________ > storage-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/storage-discuss > > _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
