Re: [PATCH RFC 0/3] SCSI Userspace Target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Christie wrote:
Jeff Garzik wrote:

On Tue, Jan 24, 2006 at 08:58:02PM -0600, Mike Christie wrote:

The following patches begin to add the infrastructure for the SCSI
Userspace target framework. We were not sure about what James meant by
some of his comments, so rather than getting to far we want to post a
early.

As the email subject hints, the goal of the project is to push most of
the target code to userspace. The only parts we kept in the kernel were
for transferring data between the LLD and userpsace and the netlink
interface. We included the relevant parts of a software iscsi target as
an example.



I'm glad this got posted, I've been wanting something like this for a
while.  My own personal interest is implementing a tSCSI (my answer to
iSCSI) target.

One random comment:  Take a look at the mmap'd ring buffer interface
provided by mmap'ing the packet socket.  That's the ideal async
interface, since that's fully async, very close to hardware reality.


Thanks will do. I had actually replaced our mapping code with calls to block layer functions like bio_map_user() and blk_rq_map_sg(). I am still looking into the packet socket interface, but if we have to change interaces I would like to somehow hook whatever is decided on into bio.c and ll_rw_blk.c so that it could be used by anyone. SG_IO through a packet socket for example. Is bsg still being worked on? Is it going to use a new interface or is it ioctl based like block/scsi_ioctl.c?

bsg is still talked about as the next iteration, but its largely not getting merged simply because there are no users yet. Were a project to pick it up, it would go in quickly.

	Jeff



-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux