Hi Mike,

The problem is with session login/logout events as well.
Yes, We can hit this problem by running multiple iscsiadm instances in parallel.

Thanks,
Roi




-----Original Message-----
From: open-iscsi@googlegroups.com [mailto:open-iscsi@googlegroups.com] On 
Behalf Of Mike Christie
Sent: Tuesday, January 26, 2016 8:26 AM
To: open-iscsi@googlegroups.com
Cc: leeman.dun...@gmail.com; roi.da...@gmail.com; Roi Dayan 
<r...@mellanox.com>; Sagi Grimberg <sa...@mellanox.com>
Subject: Re: [PATCH V3] discoveryd: Lock between forks

On 10/06/2015 02:19 AM, Roi Dayan wrote:
> Since iscsi responses from the kernel are multicast we might get into 
> a situation where multiple discoveryd handle the same response.
> With this commit we use a shared mutex to lock between the discoveryd 
> forks so each fork will handle its intended portal.
> So we wait for login and stale logouts to finish between releasing the mutex.
> 
> Signed-off-by: Roi Dayan <r...@mellanox.com>
> Signed-off-by: Sagi Grimberg <sa...@mellanox.com>
> ---
> Hi,
> 
> The issue was discovered after working with discoveryd and offload 
> driver which needed the following patch that was already submitted to the 
> mailing list:
> 

Are the problem events the discovery related ones like the ep_connect
ones, or is this a problem with the normal session login/logout events too?

Do we still hit the same problem if someone were to run iscsiadm while
this is running, or if we were to just run multiple instances of iscsiadm?

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to