mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
cache: report for succesful status
This commit is contained in:
parent
667b33dd3b
commit
cb5f0bdba9
@ -522,10 +522,10 @@ int lvdisplay_full(struct cmd_context *cmd,
|
|||||||
log_print("LV origin of Cache LV %s", seg->lv->name);
|
log_print("LV origin of Cache LV %s", seg->lv->name);
|
||||||
} else if (lv_is_cache(lv)) {
|
} else if (lv_is_cache(lv)) {
|
||||||
seg = first_seg(lv);
|
seg = first_seg(lv);
|
||||||
if (inkernel && !lv_cache_status(lv, &cache_status))
|
if (inkernel && lv_cache_status(lv, &cache_status)) {
|
||||||
return_0;
|
log_print("LV Cache pool name %s", seg->pool_lv->name);
|
||||||
log_print("LV Cache pool name %s", seg->pool_lv->name);
|
log_print("LV Cache origin name %s", seg_lv(seg, 0)->name);
|
||||||
log_print("LV Cache origin name %s", seg_lv(seg, 0)->name);
|
}
|
||||||
} else if (lv_is_cache_pool(lv)) {
|
} else if (lv_is_cache_pool(lv)) {
|
||||||
seg = first_seg(lv);
|
seg = first_seg(lv);
|
||||||
log_print("LV Pool metadata %s", seg->metadata_lv->name);
|
log_print("LV Pool metadata %s", seg->metadata_lv->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user