Print this page
3862 stmf + kstat = kernel panic
3863 stmf_itl_task_start() must check for ilu->ilu_kstat_io is non-null
3864 memory leak in the iSCSI code
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Jeremy Jones <jeremy@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Gordon Ross <gwr@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/comstar/stmf/stmf_state.h
          +++ new/usr/src/uts/common/io/comstar/stmf/stmf_state.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  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   * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   */
  24   24  /*
  25   25   * Copyright 2011, Nexenta Systems, Inc. All rights reserved.
       26 + * Copyright (c) 2013 by Delphix. All rights reserved.
  26   27   */
  27   28  #ifndef _STMF_STATE_H
  28   29  #define _STMF_STATE_H
  29   30  
  30   31  #ifdef  __cplusplus
  31   32  extern "C" {
  32   33  #endif
  33   34  
  34   35  typedef struct stmf_state {
  35   36          kmutex_t                stmf_lock;
  36   37          kcondvar_t              stmf_cv;
  37   38          dev_info_t              *stmf_dip;
  38   39          stmf_i_lu_provider_t    *stmf_ilplist;
  39   40          stmf_i_port_provider_t  *stmf_ipplist;
  40   41          stmf_i_lu_t             *stmf_ilulist;
  41   42          stmf_i_local_port_t     *stmf_ilportlist;
  42   43          id_space_t              *stmf_ilport_inst_space;
  43   44          avl_tree_t              stmf_irportlist;
  44   45          id_space_t              *stmf_irport_inst_space;
  45      -        avl_tree_t              stmf_itl_kstat_list;
  46   46          int                     stmf_nlps;
  47   47          int                     stmf_npps;
  48   48          int                     stmf_nlus;
  49   49          int                     stmf_nlports;
  50   50          uint8_t                 stmf_service_running:1,
  51   51                                  stmf_inventory_locked:1,
  52   52                                  stmf_exclusive_open:1,
  53   53                                  stmf_opened:1,
  54   54                                  stmf_process_initial_luns:1,
  55   55                                  rsvd:3;
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX