summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorBlazej Kucman <blazej.kucman@intel.com>2020-09-09 10:31:19 +0200
committerJes Sorensen <jsorensen@fb.com>2020-10-14 17:33:47 +0200
commitcab9c67d461c65a1138359f9f6d39636466b90e4 (patch)
treea35cdb61d64c9617daceea527f5fb73112b6490e /mdadm.h
parentMonitor: stop notifing about containers. (diff)
downloadmdadm-cab9c67d461c65a1138359f9f6d39636466b90e4.tar.xz
mdadm-cab9c67d461c65a1138359f9f6d39636466b90e4.zip
mdmonitor: set small delay once
If mdmonitor is awakened by event, set small delay once to deal with udev and mdadm. Signed-off-by: Blazej Kucman <blazej.kucman@intel.com> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index 399478b8..4961c0f9 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -628,7 +628,7 @@ struct mdstat_ent {
extern struct mdstat_ent *mdstat_read(int hold, int start);
extern void mdstat_close(void);
extern void free_mdstat(struct mdstat_ent *ms);
-extern void mdstat_wait(int seconds);
+extern int mdstat_wait(int seconds);
extern void mdstat_wait_fd(int fd, const sigset_t *sigmask);
extern int mddev_busy(char *devnm);
extern struct mdstat_ent *mdstat_by_component(char *name);