From: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> Subject: Re: [Stgt-devel] stgt & IBM virtual SCSI Target Driver Date: Fri, 09 Sep 2005 20:49:06 +0900 > > target driver (queue cmnd alloc buffer) -> protocol (SCSI stuff) -> STGT > > > > So then the target driver can pass some protocol specifc values like cdb > > and lun (and lun decoder if necessary) without the stgt core having to > > worry about that stuff. This will also allow you to make it so target > > drivers do not have to touch things like the cdb field (I can move that > > to a protocol specific cmnd data finally). > > I agreed. Now we should remove all protocol specific stuff in stgt. I > tried to do this (though I'm not sure whether I've done in a right way > about some of the changes). By the way, it's time to rename stgt tgt (or something generic), I guess. I also think about rename IET something generic like istgt or isstgt (iSCSI software target). After all, the code will be really very from the original IET code. Any suggestions? |