On 10/03/2011 12:42 PM, [email protected] wrote:
> From: Manish Rangankar <[email protected]>
> 
> For offload iSCSI login, if there are existing active sessions and
> iscsid is restarted then iscsid is unable to rediscover all active
> sessions.
> On LLD side fixed sending response on connection login event.
> And on the iscsid side fixed sending response on mgmt socket on
> connection login event.
> 
> JIRA Key: OPENISCSI-21
> 
> Signed-off-by: Manish Rangankar <[email protected]>
> Signed-off-by: Vikas Chaudhary <[email protected]>
> ---
>  usr/initiator.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/usr/initiator.c b/usr/initiator.c
> index 0350ff8..6c06318 100644
> --- a/usr/initiator.c
> +++ b/usr/initiator.c
> @@ -1634,9 +1634,10 @@ static void session_conn_process_login(void *data)
>                           session->nrec.conn[conn->id].address,
>                           session->nrec.conn[conn->id].port,
>                           session->nrec.iface.name);
> -     } else
> +     } else {
>               session->notify_qtask = NULL;
> -
> +             mgmt_ipc_write_rsp(c->qtask, ISCSI_SUCCESS);
> +     }
>  
>       /*
>        * reset ERL=0 reopen counter

Merged in commit 5383b4b373bdea6cc50b2099201dde33de80d145

-- 
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?hl=en.

Reply via email to