mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Add debug message for open_count failure
Report open_count problem as debug. Function using _node_has_closed_parents decides whether it's error or could be ignored.
This commit is contained in:
parent
45afc15547
commit
eb4188830e
@ -1,5 +1,6 @@
|
||||
Version 1.02.64 -
|
||||
===================================
|
||||
Log debug open_count in _node_has_closed_parents().
|
||||
Change dm_report_field_string() API to accept const char *const *data.
|
||||
|
||||
Version 1.02.63 - 9th February 2011
|
||||
|
@ -938,9 +938,12 @@ static int _node_has_closed_parents(struct dm_tree_node *node,
|
||||
!info.exists)
|
||||
continue;
|
||||
|
||||
if (info.open_count)
|
||||
if (info.open_count) {
|
||||
log_debug("Node %s %d:%d has open_count %d", uuid_prefix,
|
||||
dinfo->major, dinfo->minor, info.open_count);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user