mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
display: try to show status for inactive vdopool
Since we now support activation of 'vdo' volume without explicit activation of 'vdopool' it's now possible to have active layer vdopool (-vpool) volume and having vdopool itself inactive - yet still in this case we can show available stats for this volume. But we need to show correct activation status and other standard info.
This commit is contained in:
parent
6a9a4b4534
commit
98419e0667
@ -533,7 +533,7 @@ int lvdisplay_full(struct cmd_context *cmd,
|
||||
} else if (lv_is_vdo_pool(lv)) {
|
||||
seg = first_seg(lv);
|
||||
log_print("LV VDO Pool data %s", seg_lv(seg, 0)->name);
|
||||
if (inkernel && lv_vdo_pool_status(lv, 0, &vdo_status)) { /* FIXME: flush option? */
|
||||
if (lv_vdo_pool_status(lv, 0, &vdo_status)) { /* FIXME: flush option? */
|
||||
log_print("LV VDO Pool usage %s%%",
|
||||
display_percent(cmd, vdo_status->usage));
|
||||
log_print("LV VDO Pool saving %s%%",
|
||||
|
Loading…
Reference in New Issue
Block a user