[Stgt-devel] Re: [PATCH 0/3] ibmvscsis scsi target

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sat Nov 5 02:00:19 CET 2005

From: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Subject: Re: [Stgt-devel] Re: [PATCH 0/3] ibmvscsis scsi target
Date: Sat, 22 Oct 2005 01:16:06 +0900

> > I started to convert ibmvscsi code to the tgt framework a little while
> > ago. Its model is pretty different from the iSCSI and FC models so I'm
> > trying to figure out what changes we need.
> > 
> > Hopefully, I will commit the initial code to the repository by the end
> > of the month.
> I managed to make a SCSI client boot by using the new VIO SCSI target
> driver. I uploaded a patch against r119 of the framework code.
> http://zaal.org/tgt/ibmvstgt.diff
> It includes verbose debug code and makeshift code so I've not
> committed it. I'll clean up and commit it next week. I've found some
> bugs in the framework during rewriting the driver, however, I've not
> fixed them yet.

This took longer a bit than expected. At last, tgt can handle multiple
target drivers (and their user-space dynamic libraries), I think.

Currently, tgt supports two SCSI target drivers, iSCSI software target
(istgt) and IBM virtual SCSI target (ibmvstgt) drivers. Mike has
started working on a qla2xxx target driver based on the mainline
qla2xxx driver.

I added a README file including simple instruction. So you can test
the tgt framework without lots of effort.

The README file does not contain lots of infomation, so feel free to
ask questions.

You can get the code through anonymous SVN access via SVN (or
HTTP). See:


> The code has been not tested heavily, still unstable, and not
> finished. In addition, there's no document about how to use the tgt
> framework. But it gives a hints how the ibmvscsi driver work with the
> tgt framework.

Dave, Santiago, I'd appreciate any comments on the code.

More information about the stgt mailing list