[Stgt-devel] VTL patch, take 2

Mark Harvey markh794
Thu Apr 12 23:28:04 CEST 2007


SSC / SMC patches to SCSI Tgt code.

It is based from git commit :
   ================================
commit 47e15c234ca298d31b1709db592eef9db4bce0ca
Author: Albert Pauw <albert.pauw at gmail.com>
Date:   Sat Apr 7 17:31:54 2007 +0900

    some shortcut options missing from tgtadm

    Signed-off-by: Albert Pauw <albert.pauw at gmail.com>
   ================================


Additions from last patch include :
 - Updated syntax to add/configure limited set of SMC / SSC parameters
 - Start implementing structures for MODE SELECT / MODE SENSE op codes
 - Start implementing structures for LOG SELECT / LOG SENSE op codes

 - SMC module includes:
   Allocation of MODE pages and initialization to default values.
   Ability to change Element Address Assignment



This is a work-in-progress and is being posted as an example of
where/how I'm attempting to implement a VTL.

I need to update command parameter passing to recommended use of
"--params ....."

Next step is to implement the SCSI MODE SENSE op code so I can
actually test what is being set is correct..

Note: in root of src is a 'tgt-setup' script which will (should)
correctly configure the SSC & SMC modules

As always, feedback welcome.

Regards
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tgt-vtl.diff
Type: text/x-patch
Size: 71673 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/stgt-devel/attachments/20070413/4fa66760/attachment-0001.bin 



More information about the stgt mailing list