mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Suppress unnecessary resumes.
This commit is contained in:
parent
ec289b64b9
commit
7707ea90f4
@ -1418,6 +1418,9 @@ int dm_tree_preload_children(struct dm_tree_node *dnode,
|
||||
if (!dm_tree_node_num_children(child, 1))
|
||||
continue;
|
||||
|
||||
if (!child->info.inactive_table && !child->info.suspended)
|
||||
continue;
|
||||
|
||||
if (!_resume_node(name, child->info.major, child->info.minor, &newinfo)) {
|
||||
log_error("Unable to resume %s (%" PRIu32
|
||||
":%" PRIu32 ")", name, child->info.major,
|
||||
|
Loading…
Reference in New Issue
Block a user