summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authoroshchirs <oleksandr.shchirskyi@intel.com>2021-07-30 11:16:00 +0200
committerJes Sorensen <jsorensen@fb.com>2021-08-02 16:24:20 +0200
commit0663137c77bc848b2927075c077b545fceeb4dae (patch)
tree096e70e328bc0d2e5b7309a19b80d9c3275e7dac /mdadm.h
parenttests: Avoid passing chunk size when creating RAID 1 (diff)
downloadmdadm-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 273fa509..8f8841d8 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -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);