Print this page
3866 panic in idm module
3867 stmfCreateLu failed: GUID_IN_USE
3868 iscsi target not accepting any new connections
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Jeremy Jones <jeremy@delphix.com>
Reviewed by: Eric Diven <eric.diven@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/idm/idm_conn_sm.c
          +++ new/usr/src/uts/common/io/idm/idm_conn_sm.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + * Copyright (c) 2013 by Delphix. All rights reserved.
  24   25   */
  25   26  
  26   27  #include <sys/cpuvar.h>
  27   28  #include <sys/ddi.h>
  28   29  #include <sys/sunddi.h>
  29   30  #include <sys/modctl.h>
  30   31  #include <sys/socket.h>
  31   32  #include <sys/strsubr.h>
  32   33  #include <sys/note.h>
  33   34  #include <sys/sdt.h>
↓ open down ↓ 568 lines elided ↑ open up ↑
 602  603                  idm_update_state(ic, CS_S9_INIT_ERROR, event_ctx);
 603  604                  break;
 604  605          case CE_LOGOUT_SESSION_SUCCESS:
 605  606                  /*
 606  607                   * T8
 607  608                   * A session reinstatement request can be received while a
 608  609                   * session is active and a login is in process. The iSCSI
 609  610                   * connections are shut down by a CE_LOGOUT_SESSION_SUCCESS
 610  611                   * event sent from the session to the IDM layer.
 611  612                   */
      613 +                (void) untimeout(ic->ic_state_timeout);
 612  614                  if (IDM_CONN_ISTGT(ic)) {
 613  615                          ic->ic_transport_ops->it_tgt_conn_disconnect(ic);
 614  616                  } else {
 615  617                          ic->ic_transport_ops->it_ini_conn_disconnect(ic);
 616  618                  }
 617  619                  idm_update_state(ic, CS_S11_COMPLETE, event_ctx);
 618  620                  break;
 619  621  
 620  622          case CE_LOGIN_SND:
 621  623                  ASSERT(ic->ic_client_callback == NULL);
↓ open down ↓ 1034 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX