mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
display: show monitoring status
When displaying segments (lvdisplay --maps) show monitoring status when supported by segment.
This commit is contained in:
parent
e6168b8d70
commit
91a8e4a3d8
@ -1,5 +1,6 @@
|
||||
Version 2.02.107 -
|
||||
==================================
|
||||
Display monitoring status for monitorable segments in 'lvdisplay --maps'.
|
||||
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.
|
||||
|
@ -667,6 +667,10 @@ int lvdisplay_segments(const struct logical_volume *lv)
|
||||
|
||||
log_print(" Type\t\t%s", seg->segtype->ops->name(seg));
|
||||
|
||||
if (seg->segtype->ops->target_monitored)
|
||||
log_print(" Monitoring\t\t%s",
|
||||
lvseg_monitor_dup(lv->vg->cmd->mem, seg));
|
||||
|
||||
if (seg->segtype->ops->display)
|
||||
seg->segtype->ops->display(seg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user