On Tue, 2012-04-17 at 21:36 -0500, Mike Christie wrote:
> On 04/04/2012 06:39 PM, Eddie Wai wrote:
> >             struct msg_req_path {
> >                     uint32_t        host_no;
> > +                   uint32_t        iface_num;
> >             } req_path;
> 
> Are you using this in iscsiuo now? Do you match the host_no + iface_num
> to some iface file in /var/lib/iscsi/ifaces? How do you do it?
> 
The new iscsiuio will look for the host_no from the uevent and extract
the iface_num accordingly.  The matching logic matches this iface_num
with the iface struct created from the iface info received from the
iscsid->iscsiuio socket.  It does not examine the /var/lib/iscsi/ifaces
database directly.

In the situation when multiple ifaces are supported per HBA, each iface
info passed from iscsid will create entries to the iface struct linklist
in iscsiuio.  The asynchronous PATH_REQ nl uevents will then supply the
iface_num as the key for the search.  This will take the guessing work
away from iscsiuio.


-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to