In the 2.0-865 version when we received a ISCSI_ASYNC_MSG_REQUEST_LOGOUT we would logout, and then retry logging back in:
- <28>Jul 28 20:15:40 iscsid: Target requests logout within 3 seconds for connection^M - <28>Jul 28 20:15:45 iscsid: connection5:0 is operational after recovery (2 attempts)^M And we would have a short hiccup (5 seconds) of the connection being gone. This as my understanding was a mechanism for the EqualLogic box to "move" (re-establishing allegiance) a session to a different port, hence allowing a load-balancing mechanism. In 2.0-869, the git commit 052d014485d2ce5bb7fa8dd0df875dafd1db77df changed this behavior so that we now actually logout and delete the session. No more retries. 2.0-865: static int iscsi_xmit_mtask(struct iscsi_conn *conn) { struct iscsi_hdr *hdr = conn->mtask->hdr; int rc, was_logout = 0; spin_unlock_bh(&conn->session->lock); if ((hdr->opcode & ISCSI_OPCODE_MASK) == ISCSI_OP_LOGOUT) { conn->session->state = ISCSI_STATE_IN_RECOVERY; iscsi_block_session(session_to_cls(conn->session)); ... 2.0-869: static int iscsi_xmit_mtask(struct iscsi_conn *conn) { struct iscsi_hdr *hdr = conn->mtask->hdr; int rc; if ((hdr->opcode & ISCSI_OPCODE_MASK) == ISCSI_OP_LOGOUT) conn->session->state = ISCSI_STATE_LOGGING_OUT; spin_unlock_bh(&conn->session->lock); .. and.. if (conn->session->state == ISCSI_STATE_LOGGING_OUT) { iscsi_free_mgmt_task(conn, conn->mtask); conn->mtask = NULL; continue; } This comes down to 2.0-869 terminating the session without trying to re-login. With the EqualLogic boxes that means we never reconnect back. So.. my question is : was this change intentional? If so, does Equallogic know this and have they changed their firmware to send ISCSI_ASYNC_MSG_DROPPING_CONNECTION (0x02) instead back? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---