Print this page
NEX-4592 race condition allows FC initiator LUN offline hotplug handler deadlocks with FMA faulting leaf vdev between LDI and ZFS
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
        
*** 60,69 ****
--- 60,71 ----
  
  /*
   * Flag for LDI handle's lh_flags field
   */
  #define LH_FLAGS_NOTIFY 0x0001          /* invoked in context of a notify */
+ #define LH_FLAGS_NOTIFY_NOTIFY 0x0002   /* processed once in notify loop */
+ #define LH_FLAGS_NOTIFY_FINALIZE 0x0004 /* processed once in finalize loop */
  
  /*
   * LDI initialization function
   */
  void ldi_init(void);