mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
pvmove: improve lvs
When pvmoving LV - the target for LV is a mirror so the validation that checked the type is matching was incorrect. While we need a more generic enhancment of LVS output for pvmoved LVs, for now at least stop showing internal errors and 'X' symbols in attrs.
This commit is contained in:
parent
b67ef90438
commit
0c62ae3f89
@ -1,5 +1,6 @@
|
|||||||
Version 3.0.0
|
Version 3.0.0
|
||||||
=============
|
=============
|
||||||
|
Avoid showing internal error in lvs output or pvmoved LVs.
|
||||||
Remove clvmd
|
Remove clvmd
|
||||||
Remove lvmlib (api)
|
Remove lvmlib (api)
|
||||||
lvconvert: provide possible layouts between linear and striped/raid
|
lvconvert: provide possible layouts between linear and striped/raid
|
||||||
|
@ -178,7 +178,8 @@ static int _get_segment_status_from_target_params(const char *target_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Validate target_name segtype from DM table with lvm2 metadata segtype */
|
/* Validate target_name segtype from DM table with lvm2 metadata segtype */
|
||||||
if (strcmp(segtype->name, target_name) &&
|
if (!lv_is_locked(seg->lv) &&
|
||||||
|
strcmp(segtype->name, target_name) &&
|
||||||
/* If kernel's type isn't an exact match is it compatible? */
|
/* If kernel's type isn't an exact match is it compatible? */
|
||||||
(!segtype->ops->target_status_compatible ||
|
(!segtype->ops->target_status_compatible ||
|
||||||
!segtype->ops->target_status_compatible(target_name))) {
|
!segtype->ops->target_status_compatible(target_name))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user