diff options
author | oshchirs <oleksandr.shchirskyi@intel.com> | 2021-07-30 11:16:00 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2021-08-02 16:24:20 +0200 |
commit | 0663137c77bc848b2927075c077b545fceeb4dae (patch) | |
tree | 096e70e328bc0d2e5b7309a19b80d9c3275e7dac /mdadm.h | |
parent | tests: Avoid passing chunk size when creating RAID 1 (diff) | |
download | mdadm-0663137c77bc848b2927075c077b545fceeb4dae.tar.xz mdadm-0663137c77bc848b2927075c077b545fceeb4dae.zip |
Add monitor delay parameter to mdadm.conf
Add possibility to configure delay for mdadm in monitoring mode
using mdadm.conf.
--delay command line argument takes precedence over config file.
Signed-off-by: Oleksandr Shchirskyi <oleksandr.shchirskyi@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1525,6 +1525,7 @@ extern char *conf_get_mailfrom(void); extern char *conf_get_program(void); extern char *conf_get_homehost(int *require_homehostp); extern char *conf_get_homecluster(void); +extern int conf_get_monitor_delay(void); extern char *conf_line(FILE *file); extern char *conf_word(FILE *file, int allow_key); extern void print_quoted(char *str); |