diff options
author | Konrad Rzeszutek <konrad@virtualiron.com> | 2009-03-24 19:14:37 +0100 |
---|---|---|
committer | Christophe Varoqui <christophe.varoqui@free.fr> | 2009-03-24 19:14:37 +0100 |
commit | f46ffaf4e0a079180d4e11b4b2fb8425bda4d065 (patch) | |
tree | 10e58fc878471c6c95795d8ccb5317b9f1ab9dca /multipathd/main.c | |
parent | 1423379594997d08e28fba0bd3aab9089f4ba669 (diff) | |
download | multipath-tools-f46ffaf4e0a079180d4e11b4b2fb8425bda4d065.tar.gz multipath-tools-f46ffaf4e0a079180d4e11b4b2fb8425bda4d065.tar.bz2 multipath-tools-f46ffaf4e0a079180d4e11b4b2fb8425bda4d065.zip |
Don't display the state of the newly added map during addition in the daemon
and don't switch groups.
A previous commit mass-changed #ifdef DAEMON to check for 'mpp->waiter'.
Unfortunatly when the 'domap' function is called with ACT_CREATE in the daemon,
the mpp->waiter is not set, hence the multipath client mode logic is choosen.
Fixing this triggers another issues which is that newly added path via
ACT_CREATE won't have their waitevent thread created as the caller checks
mpp->action (which changed to ACT_NOTHING) and won't start the thread.
Diffstat (limited to 'multipathd/main.c')
-rw-r--r-- | multipathd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/multipathd/main.c b/multipathd/main.c index 996bd9d..b7532f1 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -1334,7 +1334,7 @@ child (void * param) condlog(0, "can not find sysfs mount point"); exit(1); } - + conf->daemon = 1; /* * fetch and configure both paths and multipaths */ |