[multipath] drop a notice upon wwid change causing a map remove/create
authorChristophe Varoqui <root@xa-s05.(none)>
Wed, 19 Oct 2005 08:29:53 +0000 (10:29 +0200)
committerChristophe Varoqui <root@xa-s05.(none)>
Wed, 19 Oct 2005 08:29:53 +0000 (10:29 +0200)
multipath/main.c

index a8e8f41..60d11bf 100644 (file)
@@ -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);