summaryrefslogtreecommitdiff
path: root/msg.h
diff options
context:
space:
mode:
authorAdam Kwolek <adam.kwolek@intel.com>2012-02-07 15:03:43 +0100
committerNeilBrown <neilb@suse.de>2012-02-09 12:20:52 +1100
commit78340e26a54db960de238b511f5cdc74aebe4453 (patch)
tree453a9b5a01b90b3bfea7fde8cf420efa5d6a5eb3 /msg.h
parent50927b1323a4cfcbf3729ff552c496695d6199eb (diff)
Flush mdmon before next reshape step during container operation
Using takeover operation for grow purposes, mdadm has to be sure that mdmon processes all updates, and if necessary it will be closed at takeover to raid0 operation. If mdmon is late, next array in container is processed and due to race condition mdmon closes itself instead to monitor next reshape operation. Signed-off-by: Adam Kwolek <adam.kwolek@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'msg.h')
-rw-r--r--msg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/msg.h b/msg.h
index c6d037d9..eefa6495 100644
--- a/msg.h
+++ b/msg.h
@@ -34,5 +34,6 @@ extern int block_monitor(char *container, const int freeze);
extern void unblock_monitor(char *container, const int unfreeze);
extern int fping_monitor(int sock);
extern int ping_manager(char *devname);
+extern void flush_mdmon(char *container);
#define MSG_MAX_LEN (4*1024*1024)