Print this page
NEX-5428 Backout the 5.0 changes
NEX-2937 Continuous write_same starves all other commands
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>
NEX-3217 Panic running benchmark at ESX VM
NEX-3204 Panic doing FC rescan from ESXi 5.5u1 with VAAI enabled
        Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
        Reviewed by: Tony Nguyen <tony.nguyen@nexenta.com>
NEX-3023 Panics and hangs when using write_same and compare_and_write
Review by: Bayard Bell <bayard.bell@nexenta.com>
Review by: Rick McNeal <rick.mcneal@nexenta.com>
Review by: Jean McCormack <jean.mccormack@nexenta.com>
Approved by: Jean McCormack <jean.mccormack@nexenta.com>
Related bug: NEX-2723 Kernel panic in xfer_completion code for write_same (0x93) and compare_and_write (0x89)
SUP-765 When a Windows Clustered Shared Volume is placed on a pool under Nexenta HA Cluster control the clustered shared disk looses its PGR3 reservation to the presented zvol.
Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
Reviewed by: Tony Nguyen <tony.nguyen@nexenta.com>
Reviewed by: Josef Sipek <josef.sipek@nexenta.com>
NEX-988 itask_lu_[read|write]_time was inadvertently removed by the Illumos 3862 fix

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/lpif.h
          +++ new/usr/src/uts/common/sys/lpif.h
↓ 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   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2013 by Delphix. All rights reserved.
       24 + * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  24   25   */
  25   26  #ifndef _LPIF_H
  26   27  #define _LPIF_H
  27   28  
  28   29  /*
  29   30   * Definitions for stmf LUs and lu providers.
  30   31   */
  31   32  
  32   33  #include <sys/stmf_defines.h>
  33   34  #include <sys/stmf.h>
↓ open down ↓ 35 lines elided ↑ open up ↑
  69   70          void                    (*lu_ctl)(struct stmf_lu *lu, int cmd,
  70   71                                                                  void *arg);
  71   72          stmf_status_t           (*lu_info)(uint32_t cmd, struct stmf_lu *lu,
  72   73                  void *arg, uint8_t *buf, uint32_t *bufsizep);
  73   74          void                    (*lu_event_handler)(struct stmf_lu *lu,
  74   75                  int eventid, void *arg, uint32_t flags);
  75   76          void                    *lu_proxy_reg_arg;
  76   77          uint32_t                lu_proxy_reg_arg_len;
  77   78          void                    (*lu_dbuf_free)(struct scsi_task *task,
  78   79                  struct stmf_data_buf *dbuf);
       80 +        void                    (*lu_task_done)(struct scsi_task *task);
  79   81  } stmf_lu_t;
  80   82  
  81   83  /*
  82   84   * Abort cmd
  83   85   */
  84   86  #define STMF_LU_ABORT_TASK              1
  85   87  #define STMF_LU_RESET_STATE             2
  86   88  #define STMF_LU_ITL_HANDLE_REMOVED      3
       89 +#define STMF_LU_SET_ABORT               4
  87   90  
  88   91  /*
  89   92   * Asymmetric access state
  90   93   */
  91   94  #define STMF_LU_ACTIVE                  0
  92   95  #define STMF_LU_STANDBY                 1
  93   96  
  94   97  /*
  95   98   * proxy register msg types
  96   99   */
↓ open down ↓ 28 lines elided ↑ open up ↑
 125  128              void *proxy_reg_arg, uint32_t proxy_reg_arg_len, uint32_t type);
 126  129  } stmf_lu_provider_t;
 127  130  
 128  131  stmf_status_t stmf_deregister_lu_provider(stmf_lu_provider_t *lp);
 129  132  stmf_status_t stmf_register_lu_provider(stmf_lu_provider_t *lp);
 130  133  stmf_status_t stmf_register_lu(stmf_lu_t *lup);
 131  134  stmf_status_t stmf_deregister_lu(stmf_lu_t *lup);
 132  135  stmf_status_t stmf_set_lu_access(stmf_lu_t *lup, uint8_t access_state);
 133  136  stmf_status_t stmf_proxy_scsi_cmd(scsi_task_t *, stmf_data_buf_t *dbuf);
 134  137  int stmf_is_standby_port(scsi_task_t *);
      138 +void stmf_lu_xfer_done(struct scsi_task *task, boolean_t read,
      139 +    hrtime_t elapsed_time);
      140 +boolean_t stmf_is_pgr_aptpl_always();
 135  141  
 136  142  #ifdef  __cplusplus
 137  143  }
 138  144  #endif
 139  145  
 140  146  #endif /* _LPIF_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX