1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Display transaction_id for thin_pool

This commit is contained in:
Zdenek Kabelac 2011-10-03 18:31:03 +00:00
parent a5a31ce947
commit 97bde15a9f

View File

@ -552,6 +552,9 @@ int lvdisplay_full(struct cmd_context *cmd,
log_print("LV Thin pool %s%s/%s", lv->vg->cmd->dev_dir, log_print("LV Thin pool %s%s/%s", lv->vg->cmd->dev_dir,
lv->vg->name, first_seg(lv)->pool_lv->name); lv->vg->name, first_seg(lv)->pool_lv->name);
} else if (lv_is_thin_pool(lv)) { } else if (lv_is_thin_pool(lv)) {
/* FIXME: display thin_pool targets transid for activated LV as well */
log_print("LV Thin transaction id %" PRIu64,
first_seg(lv)->transaction_id);
log_print("LV Thin metadata %s%s/%s", lv->vg->cmd->dev_dir, log_print("LV Thin metadata %s%s/%s", lv->vg->cmd->dev_dir,
lv->vg->name, first_seg(lv)->pool_metadata_lv->name); lv->vg->name, first_seg(lv)->pool_metadata_lv->name);
log_print("LV Thin data pool %s%s/%s", lv->vg->cmd->dev_dir, log_print("LV Thin data pool %s%s/%s", lv->vg->cmd->dev_dir,