need help to merge (small) virtual scsi driver upstream.

Matt Mackall mpm at selenic.com
Mon Jan 19 16:37:11 CST 2009


On Mon, 2009-01-19 at 23:33 +0100, Henrik Stokseth wrote:
> Matt Mackall wrote:
> > We've got something very similar to this in the kernel already and it's
> > called iSCSI. iSCSI is a moderately straightforward encapsulation of the
> > SCSI protocol in TCP. It's not great, but at least it's standardized.
> >
> > If you have code that generates SCSI packets in userspace, it's
> > relatively straightforward to convert those to iSCSI packets and serve
> > them over TCP and then attach to your virtual SCSI device from the
> > kernel. And yes, this even works with things other than disks.
> >
> >   
> Good advice. Sounds like a simple way for us to communicate with the kernel.
> Our software does indeed process and generate SCSI (MMC-3) packets from
> userspace.
> I'm assuming iSCSI works sort of like a virtual bus, that'd be just the
> thing we need.
> 
> You wouldn't happen to know how this compares to STGT and/or SCST would
> you? Emphasis on ease of implementation.

If I recall correctly, STGT and SCST are very simple and not
network-based. Nor are they IETF standards.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Kernel-mentors mailing list