X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=msg.c;h=44aad1f60f75a18860eef2d96fcb6c361a57341a;hb=4687f160276a8f7815675ca758c598d881f04fd7;hp=dc780b3ed4bf6fde03a0e660f89f7c99c1584031;hpb=29b59ca5c3b8d9c0385efbed232a9820ed9fe58e;p=thirdparty%2Fmdadm.git diff --git a/msg.c b/msg.c index dc780b3e..44aad1f6 100644 --- a/msg.c +++ b/msg.c @@ -487,3 +487,13 @@ int ping_manager(char *devname) close(sfd); return err; } + +/* 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 + */ +void flush_mdmon(char *container) +{ + ping_manager(container); + ping_monitor(container); +}