]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Monitor/msg: Don't print error message if mdmon doesn't run
authorMariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Tue, 21 Nov 2017 10:30:20 +0000 (11:30 +0100)
committerJes Sorensen <jsorensen@fb.com>
Tue, 21 Nov 2017 18:26:09 +0000 (13:26 -0500)
commit1ea0462990c466d9ffd25d149fa6e983b8834b30
treee6a6d350ffdac79794064a43f9ee07d4b7647894
parentfe05dc43d81e0c91cc84498e7229008748986b71
Monitor/msg: Don't print error message if mdmon doesn't run

Commit 4515fb28a53a ("Add detail information when can not connect
monitor") was added to warn about failed connection to monitor in
WaitClean function (see link below).

Mdmon runs for IMSM containers when they have array with redundancy so
if mdmon doesn't run, mdadm prints this error. This is misleading and
unnecessary. Just print it in WaitClean function.

The sock in WaitClean is deprecated so it is removed.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1375002
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Monitor.c
mdadm.c
mdadm.h
msg.c