projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f7dda06
)
[multipath] drop a notice upon wwid change causing a map remove/create
author
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 19 Oct 2005 08:29:53 +0000
(10:29 +0200)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 19 Oct 2005 08:29:53 +0000
(10:29 +0200)
multipath/main.c
patch
|
blob
|
history
diff --git
a/multipath/main.c
b/multipath/main.c
index
a8e8f41
..
60d11bf
100644
(file)
--- a/
multipath/main.c
+++ b/
multipath/main.c
@@
-509,6
+509,7
@@
select_action (struct multipath * mpp, vector curmp)
}
if (!find_mp_by_wwid(curmp, mpp->wwid)) {
+ condlog(2, "remove: %s (wwid changed)", cmpp->alias);
dm_flush_map(mpp->alias, NULL);
strncat(cmpp->wwid, mpp->wwid, WWID_SIZE);
drop_multipath(curmp, cmpp->wwid, KEEP_PATHS);