Re: best userspace iscsi target lib?

Boaz Harrosh
2008-11-11T10:55:22Z

FUJITA Tomonori wrote:
> On Mon, 10 Nov 2008 17:29:06 -0500
> Jeff Garzik <jeff@garzik.org> wrote:
>
>> Can someone recommend an open source userspace library that enables one
>> to implement a userspace iSCSI target?
>
> I'm not sure there is an open source userspace library enables you to
> easily implement your own userspace iSCSI target but there are some
> userspace iSCSI target implementations, which might useful.
>
> Some Linux distributions use:
>
> http://stgt.berlios.de/
>

Look in this patch how we added an external OSD scsi-implementor to stgt:
http://git.open-osd.org/gitweb.cgi?p=osc-osd/tgt/.git;a=commitdiff;h=5f3b25ef217ee417d8afe255d1a9bc5ed7f25f79
The implementation itself is in an external library.

I find stgt very easy to be extended.

<snip>

Boaz