Roland Dreier wrote:
Christoph> Just allocate one scsi_host per connection. OK, that solves the queuing problem nicely. Right now, I create a scsi_host for each local IB port. For each scsi_host, I have a writable sysfs attribute that userspace can put the addresses of remote ports to connect to. Any preference for how to implement the mechanism for userspace to pass in a remote address to connect to?
for iscsi and tcp connections, open-iscsi did the socket connection stuff in userspace then passed the fd down to the driver which used sockfd_lookup().
- : 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