Skip to contentSkip to conversation

LVM2/lib/display display.c

PATCH [email protected] 1 participant 1 message Oct 3, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-10-03 18:31:04

Modified files:
lib/display : display.c

Log message:
Display transaction_id for thin_pool

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.119&r2=1.120

lib/display/display.c +3 -0
@@ -552,6 +552,9 @@
 		log_print("LV Thin pool           %s%s/%s", lv->vg->cmd->dev_dir,
 			  lv->vg->name, first_seg(lv)->pool_lv->name);
 	} 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,
 			  lv->vg->name, first_seg(lv)->pool_metadata_lv->name);
 		log_print("LV Thin data pool      %s%s/%s", lv->vg->cmd->dev_dir,