All of lore.kernel.org
 help / color / mirror / Atom feed
From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/lib/display display.c
Date: 26 Sep 2011 13:11:04 -0000	[thread overview]
Message-ID: <20110926131104.5465.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac at sourceware.org	2011-09-26 13:11:03

Modified files:
	lib/display    : display.c 

Log message:
	Show some Thin related info in lvdisplay

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

--- LVM2/lib/display/display.c	2011/03/01 20:17:56	1.117
+++ LVM2/lib/display/display.c	2011/09/26 13:11:02	1.118
@@ -548,6 +548,18 @@
 			  snap_seg->origin->name);
 	}
 
+	if (lv_is_thin_volume(lv)) {
+		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)) {
+		log_print("LV Thin metadada       %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,
+			  lv->vg->name, seg_lv(first_seg(lv), 0)->name);
+		log_print("LV zero new blocks     %s",
+			  first_seg(lv)->zero_new_blocks ? "yes" : "no");
+	}
+
 	if (inkernel && info.suspended)
 		log_print("LV Status              suspended");
 	else



             reply	other threads:[~2011-09-26 13:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26 13:11 zkabelac [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-25 17:14 LVM2/lib/display display.c agk
2011-10-04 12:39 zkabelac
2011-10-03 18:31 zkabelac
2011-09-27 12:34 agk
2010-06-28 20:32 wysochanski
2009-07-27 10:18 wysochanski
2008-08-07 14:01 zkabelac
2008-04-10 19:16 agk
2007-11-05 17:13 agk
2007-11-05  2:10 agk
2007-05-31 20:26 wysochanski
2007-05-31 15:18 wysochanski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110926131104.5465.qmail@sourceware.org \
    --to=zkabelac@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.