mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
display: use Virtual for virtual LV
Emphesize virtual extents for virtual LVs and for those use 'Virtual extents' instead of 'Logical extents', so it's immeditatelly visible, which extents do have straighforward physical backend.
This commit is contained in:
parent
5b28cbd7c2
commit
e6168b8d70
@ -1,5 +1,6 @@
|
||||
Version 2.02.107 -
|
||||
==================================
|
||||
Display virtual extents for virtual LVs in 'lvdisplay --maps'.
|
||||
Make vgsplit fail cleanly when not all PVs are specified for RAID 4/5/6.
|
||||
Make vgsplit work on mirrors with logs that share PVs with images.
|
||||
Use devices/ignore_suspended_devices=0 by default if not defined in lvm.conf.
|
||||
|
@ -661,7 +661,8 @@ int lvdisplay_segments(const struct logical_volume *lv)
|
||||
log_print("--- Segments ---");
|
||||
|
||||
dm_list_iterate_items(seg, &lv->segments) {
|
||||
log_print("Logical extent %u to %u:",
|
||||
log_print("%s extents %u to %u:",
|
||||
lv_is_virtual(lv) ? "Virtual" : "Logical",
|
||||
seg->le, seg->le + seg->len - 1);
|
||||
|
||||
log_print(" Type\t\t%s", seg->segtype->ops->name(seg));
|
||||
|
Loading…
Reference in New Issue
Block a user