Print this page
NEX-17446 cleanup of hot unplugged disks fails intermittently
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
        
@@ -16,12 +16,14 @@
  * fields enclosed by brackets "[]" replaced with your own identifying
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
+
 /*
  * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2018 Nexenta Systems, Inc.
  */
 
 #ifndef _SYS_SUNNDI_H
 #define _SYS_SUNNDI_H
 
@@ -323,10 +325,11 @@
 #define NDI_NO_EVENT_STATE_CHNG 0x02000000 /* don't change the event state */
 #define NDI_DRV_CONF_REPROBE    0x04000000 /* reprobe conf-enum'd nodes only */
 #define NDI_DETACH_DRIVER       0x08000000 /* performing driver_detach */
 #define NDI_MTC_OFF             0x10000000 /* disable multi-threading */
 #define NDI_USER_REQ            0x20000000 /* user requested operation */
+#define NDI_DEVI_GONE           0x40000000 /* device is gone */
 
 /* ndi interface flag values */
 #define NDI_SLEEP               0x000000
 #define NDI_NOSLEEP             0x100000
 #define NDI_EVENT_NOPASS        0x200000 /* do not pass event req up the tree */