Roland Dreier wrote:
Mike> for iscsi and tcp connections, open-iscsi did the socket Mike> connection stuff in userspace then passed the fd down to the Mike> driver which used sockfd_lookup(). How does userspace pass the fd down? Through a character device?
open-iscsi uses a netlink socket for most of its interface due to how it pushed a lot of code to userspace. You could just do sysfs I bet, or are you having a problem of not having some place to to hang the initial setup attributes.
- : 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