Version 2.02.105 -
=====================================
- Try to remove any unusable devices from dm table when activation fails.
Dependency scan counts with snapshots and external origins.
Make sure VG extent size is always greater or equal to PV phys. block size.
Optimize double call of stat() for cached devices.
goto_out;
/* Preload any devices required before any suspensions */
- if (!dm_tree_preload_children(root, dlid, DLID_SIZE)) {
- bad:
- if (!dm_tree_deactivate_children(root, dlid, DLID_SIZE))
- stack;
- if (!_remove_lv_symlinks(dm, root))
- log_warn("Failed to remove all device symlinks associated with %s.", lv->name);
+ if (!dm_tree_preload_children(root, dlid, DLID_SIZE))
goto_out;
- }
if (dm_tree_node_size_changed(root))
dm->flush_required = 1;
if (action == ACTIVATE) {
if (!dm_tree_activate_children(root, dlid, DLID_SIZE))
- goto_bad;
+ goto_out;
if (!_create_lv_symlinks(dm, root))
log_warn("Failed to create symlinks for %s.", lv->name);
}