On Mon, 2009-06-22 at 16:51 -0700, Benjamin Li wrote:
> 
> On Mon, 2009-06-22 at 05:59 -0700, Rakesh Ranjan wrote:
> > 4. Get rid of ISCSI_NL_GRP_UIP netlink message and use
> > ISCSI_NL_GRP_ISCSID instead. Move the netlink processing in nic_nl.c
> > into netlink.
> 
> Correct, it is safe to remove ISCSI_NL_GRP_UIP because we could then
> rely on ISCSI_NL_GRP_ISCSID instead.  netlink.c::ctldev_handle() would
> need to be modified to handle 'ISCSI_KEVENT_PATH_REQ' and
> 'ISCSI_KEVENT_IF_DOWN'

This will be an ABI change.  The 2.6.31 kernel today is using the 2
multicast groups.  If we decide a single multicast group is better, I
think we need to change the kernel code now.

Mike, how do we do this?

> > 
> > B. Extend iface files to include following options
> > "iface.nic_lib = vendor_lib.so"
> > "iface.nic_dev = /dev/uioX"
> > "iface.nic_args = additional SNIC specific args"
> > 
> 
> Could we remove the option 'iface.nic_dev = /dev/uioX'?  The option
> 'iface.net_ifacename' should be enough to determine the uio char path.
> 'iface.net_ifacename' will tell iscsid what network interface to use.
> Then iscsid could scan all the entries /sys/class/uio/uio*/device/ for
> the file entry net:<net_ifacename>.  If there is a filename match then
> iscsid has found the correct uio char path used to open the uio device.
> This should simplify the configuration file or prevent conflicts with
> the 'iface.net_ifacename' parameter.

Yes, we should not count on the uio device being the same after every
reboot.

Thanks.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to