diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> | 2017-11-21 11:30:20 +0100 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-11-21 19:26:09 +0100 |
commit | 1ea0462990c466d9ffd25d149fa6e983b8834b30 (patch) | |
tree | e6a6d350ffdac79794064a43f9ee07d4b7647894 /mdadm.h | |
parent | sysfs: include faulty drive in disk count (diff) | |
download | mdadm-1ea0462990c466d9ffd25d149fa6e983b8834b30.tar.xz mdadm-1ea0462990c466d9ffd25d149fa6e983b8834b30.zip |
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>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1395,7 +1395,7 @@ extern int Kill(char *dev, struct supertype *st, int force, int verbose, int noe extern int Kill_subarray(char *dev, char *subarray, int verbose); extern int Update_subarray(char *dev, char *subarray, char *update, struct mddev_ident *ident, int quiet); extern int Wait(char *dev); -extern int WaitClean(char *dev, int sock, int verbose); +extern int WaitClean(char *dev, int verbose); extern int SetAction(char *dev, char *action); extern int Incremental(struct mddev_dev *devlist, struct context *c, |