Print this page
Revert "Revert "6602 lofi should support labeled devices""
This reverts commit 21386c8bd8477810b291eee22e08f1382e70cdf3.
Revert "6602 lofi should support labeled devices"
This reverts commit 406fc5100dac8d225a315a6def6be8d628f34e24.
re #13613 rb4516 Tunables needs volatile keyword
re #12534 rb4182 Race between log_sysevent_filename() and log_event_upcall() can cause panic
        
*** 93,103 ****
   * Tunable maximum event buffer queue size. Size depends on how many events
   * the queue must hold when syseventd is not available, for example during
   * system startup. Experience showed that more than 2000 events could be posted
   * due to correctable memory errors.
   */
! int logevent_max_q_sz = 5000;
  
  
  static int log_event_delivery = LOGEVENT_DELIVERY_HOLD;
  static char logevent_door_upcall_filename[MAXPATHLEN];
  
--- 93,103 ----
   * Tunable maximum event buffer queue size. Size depends on how many events
   * the queue must hold when syseventd is not available, for example during
   * system startup. Experience showed that more than 2000 events could be posted
   * due to correctable memory errors.
   */
! volatile int logevent_max_q_sz = 5000;
  
  
  static int log_event_delivery = LOGEVENT_DELIVERY_HOLD;
  static char logevent_door_upcall_filename[MAXPATHLEN];