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

Henrik Stokseth henrik at hw0.org
Mon Jan 19 16:33:31 CST 2009


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.


Sincerely,
Henrik Stokseth.



More information about the Kernel-mentors mailing list