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

@@ -20,10 +20,11 @@
  */
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ * Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
  */
 
 /*
  * Disk Monitor
  */

@@ -156,10 +157,14 @@
 
         if (fmd_nvl_class_match(hdl, nvl,
             DISK_ERROR_CLASS "." FM_FAULT_DISK_TESTFAIL))
                 action_prop = DISK_PROP_STFAILACTION;
 
+        if (fmd_nvl_class_match(hdl, nvl,
+            DISK_ERROR_CLASS "." FM_FAULT_SSM_WEAROUT))
+                action_prop = DISK_PROP_SSMWEAROUTACTION;
+
         dm_fault_indicator_set(diskp, INDICATOR_ON);
 
         if (action_prop != NULL &&
             (action_string = dm_prop_lookup(diskp->props, action_prop))
             != NULL) {