Print this page
7127  remove -Wno-missing-braces from Makefile.uts


  85 
  86 daemon_request_t        mirror_timeout;
  87 static daemon_request_t hotspare_request;
  88 static daemon_request_t mn_hs_request[MD_MAXSETS];      /* Multinode hs req */
  89 
  90 int     md_mirror_mcs_buf_off;
  91 
  92 /* Flags for mdmn_ksend_message to allow debugging */
  93 int     md_mirror_msg_flags;
  94 
  95 #ifdef DEBUG
  96 /* Flag to switch on debug messages */
  97 int     mirror_debug_flag = 0;
  98 #endif
  99 
 100 /*
 101  * Struct used to hold count of DMR reads and the timestamp of last DMR read
 102  * It is used to verify, using a debugger, that the DMR read ioctl has been
 103  * executed.
 104  */
 105 dmr_stats_t     mirror_dmr_stats = {0, 0};
 106 
 107 /*
 108  * Mutex protecting list of non-failfast drivers.
 109  */
 110 static kmutex_t non_ff_drv_mutex;
 111 extern char     **non_ff_drivers;
 112 
 113 extern major_t  md_major;
 114 
 115 /*
 116  * Write-On-Write memory pool.
 117  */
 118 static void             copy_write_cont(wowhdr_t *wowhdr);
 119 static kmem_cache_t     *mirror_wowblk_cache = NULL;
 120 static int              md_wowbuf_size = 16384;
 121 static size_t           md_wowblk_size;
 122 
 123 /*
 124  * This is a flag that allows:
 125  *      - disabling the write-on-write mechanism.




  85 
  86 daemon_request_t        mirror_timeout;
  87 static daemon_request_t hotspare_request;
  88 static daemon_request_t mn_hs_request[MD_MAXSETS];      /* Multinode hs req */
  89 
  90 int     md_mirror_mcs_buf_off;
  91 
  92 /* Flags for mdmn_ksend_message to allow debugging */
  93 int     md_mirror_msg_flags;
  94 
  95 #ifdef DEBUG
  96 /* Flag to switch on debug messages */
  97 int     mirror_debug_flag = 0;
  98 #endif
  99 
 100 /*
 101  * Struct used to hold count of DMR reads and the timestamp of last DMR read
 102  * It is used to verify, using a debugger, that the DMR read ioctl has been
 103  * executed.
 104  */
 105 dmr_stats_t     mirror_dmr_stats = {0};
 106 
 107 /*
 108  * Mutex protecting list of non-failfast drivers.
 109  */
 110 static kmutex_t non_ff_drv_mutex;
 111 extern char     **non_ff_drivers;
 112 
 113 extern major_t  md_major;
 114 
 115 /*
 116  * Write-On-Write memory pool.
 117  */
 118 static void             copy_write_cont(wowhdr_t *wowhdr);
 119 static kmem_cache_t     *mirror_wowblk_cache = NULL;
 120 static int              md_wowbuf_size = 16384;
 121 static size_t           md_wowblk_size;
 122 
 123 /*
 124  * This is a flag that allows:
 125  *      - disabling the write-on-write mechanism.