Print this page
8074 need to add FMA event for SSD wearout

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fm/modules/common/disk-monitor/diskmon_conf.h
          +++ new/usr/src/cmd/fm/modules/common/disk-monitor/diskmon_conf.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  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 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
       25 + * Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
  25   26   */
  26   27  
  27   28  #ifndef _DISKMOND_CONF_H
  28   29  #define _DISKMOND_CONF_H
  29   30  
  30      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  31      -
  32   31  /*
  33   32   * Configuration File data
  34   33   */
  35   34  
  36   35  #ifdef __cplusplus
  37   36  extern "C" {
  38   37  #endif
  39   38  
  40   39  #include <sys/types.h>
  41   40  #include <pthread.h>
↓ open down ↓ 13 lines elided ↑ open up ↑
  55   54  #define DEVICES_PREFIX "/devices"
  56   55  
  57   56  #define GLOBAL_PROP_LOG_LEVEL           "log-level"
  58   57  
  59   58  /* Property names (and values) for the disk configuration file entity */
  60   59  #define DISK_PROP_DEVPATH               "dev-path"
  61   60  #define DISK_PROP_LOGNAME               "logical-path"
  62   61  #define DISK_PROP_FRUACTION             "fru-update-action"
  63   62  #define DISK_PROP_OTEMPACTION           "overtemp-action"
  64   63  #define DISK_PROP_STFAILACTION          "selftest-fail-action"
       64 +#define DISK_PROP_SSMWEAROUTACTION      "ssm-wearout-action"
  65   65  
  66   66  /* Properties for the "ap" subentity */
  67   67  #define DISK_AP_PROP_APID "path"
  68   68  
  69   69  #define DEVPATH_MINOR_SEPARATOR ':'
  70   70  
  71   71  #define DEFAULT_FAULT_POLLING_INTERVAL 3600     /* seconds */
  72   72  
  73   73  #define INDICATOR_FAULT_IDENTIFIER "FAULT"
  74   74  
↓ open down ↓ 179 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX