public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: wysochanski@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/display/display.c Date: Thu, 31 May 2007 14:19:00 -0000 [thread overview] Message-ID: <20070531141957.25747.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: wysochanski@sourceware.org 2007-05-31 14:19:57 Modified files: . : WHATS_NEW lib/display : display.c Log message: Small fixes to pvdisplay --maps: 1) rename struct pv_segment vars from 'seg' to 'pvseg', 2) Change heading Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.622&r2=1.623 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.71&r2=1.72 --- LVM2/WHATS_NEW 2007/05/30 20:43:08 1.622 +++ LVM2/WHATS_NEW 2007/05/31 14:19:57 1.623 @@ -1,6 +1,6 @@ Version 2.02.26 - ================================= - Add --maps feature to pvdisplay, showing PE to LE mappings. + Add pvdisplay --maps implementation. Fix vgcfgrestore man pg to show mandatory VG name and remove LVM1 options. Fix vgrename man page to include UUID and be consistent with lvrename. Add (experimental) OpenAIS support to clvmd. --- LVM2/lib/display/display.c 2007/05/30 20:43:09 1.71 +++ LVM2/lib/display/display.c 2007/05/31 14:19:57 1.72 @@ -260,26 +260,26 @@ void pvdisplay_segments(struct physical_volume *pv) { - struct pv_segment *seg; + struct pv_segment *pvseg; - log_print("--- Segments ---"); + log_print("--- Physical Segments ---"); - list_iterate_items(seg, &pv->segments) { - if (seg->len == pv->pe_count) + list_iterate_items(pvseg, &pv->segments) { + if (pvseg->len == pv->pe_count) continue; log_print("Physical extent %u to %u:", - seg->pe, seg->pe + seg->len - 1); + pvseg->pe, pvseg->pe + pvseg->len - 1); - if (seg->lvseg) { + if (pvseg->lvseg) { log_print(" Type\t\t%s", - seg->lvseg->segtype->ops->name(seg->lvseg)); + pvseg->lvseg->segtype->ops->name(pvseg->lvseg)); log_print(" Logical volume\t%s%s/%s", - seg->lvseg->lv->vg->cmd->dev_dir, - seg->lvseg->lv->vg->name, - seg->lvseg->lv->name); + pvseg->lvseg->lv->vg->cmd->dev_dir, + pvseg->lvseg->lv->vg->name, + pvseg->lvseg->lv->name); log_print(" Logical extents\t%d to %d", - seg->lvseg->le, seg->lvseg->le + - seg->lvseg->len - 1); + pvseg->lvseg->le, pvseg->lvseg->le + + pvseg->lvseg->len - 1); } else log_print(" FREE"); }
next reply other threads:[~2007-05-31 14:19 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-05-31 14:19 wysochanski [this message] -- strict thread matches above, loose matches on Subject: below -- 2012-02-13 14:23 zkabelac 2011-11-23 1:34 agk 2009-11-03 10:50 zkabelac 2009-09-30 14:19 agk 2009-09-28 16:36 agk 2004-05-28 12:47 agk
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=20070531141957.25747.qmail@sourceware.org \ --to=wysochanski@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).