A merged snapshot's DM device is made to use the "error" target as part
of lvm's transaction to merge a snapshot. This snapshot merge use-case
aside, any device using the error target shouldn't be scanned.
Version 2.02.75 -
=====================================
+ Never scan a device which is using the error target.
Fix strict-aliasing compile warning in partition table scanning.
Add an option to automatically extend snapshots through dmeventd.
Remove dependency on libm, floor() is replaced with integer algorithm.
dev_name(dev), name);
goto out;
}
+
+ if (target_type && !strcmp(target_type, "error")) {
+ log_debug("%s: Error device %s not usable.",
+ dev_name(dev), name);
+ goto out;
+ }
} while (next);
/* FIXME Also check dependencies? */