mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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))
|
if (!dm_tree_node_num_children(child, 1))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (!child->info.inactive_table && !child->info.suspended)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!_resume_node(name, child->info.major, child->info.minor, &newinfo)) {
|
if (!_resume_node(name, child->info.major, child->info.minor, &newinfo)) {
|
||||||
log_error("Unable to resume %s (%" PRIu32
|
log_error("Unable to resume %s (%" PRIu32
|
||||||
":%" PRIu32 ")", name, child->info.major,
|
":%" PRIu32 ")", name, child->info.major,
|
||||||
|
Loading…
Reference in New Issue
Block a user