linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: Martin Papik <mp6058@gmail.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] pvmove
Date: Mon, 23 Sep 2013 22:10:49 +0100	[thread overview]
Message-ID: <20130923211049.GE24022@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <51EDEE5E.4010009@gmail.com>

On Tue, Jul 23, 2013 at 05:45:50AM +0300, Martin Papik wrote:
> * IMHO vgs/lvs/pvs should have an command line parameter, or option  
> modifier allowing to not display empty columns, i.e. the following  
> command might skip displaying origin, snap%, move, log, copy%, convert,  
> because they have no values. That would allow me to show copy_percent  
> column only when copy is in progress. Would be nice.

Yes - I'm surprised we never had this suggested before.

- Some columns will gain a property saying they can be suppressed when empty.

- A new cmdline option/config setting to suppress empty fields.

- Implemented as an extension alongside the 'sort' option.  (Like sort, you
  have to have all the output data prepared before you find out whether any
  columns are empty - even the headings can't be output before this point.)

- A way to flag an output data entry as empty.  (zkabelac is about to commit
  some patches to tidy up the handling of empty fields so this change can
  follow those.)

Alasdair

  parent reply	other threads:[~2013-09-23 21:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-19 18:14 [linux-lvm] pvmove Martin Papik
2013-07-19 19:59 ` Zdenek Kabelac
2013-07-19 22:27   ` Martin Papik
2013-07-19 23:20     ` Alasdair G Kergon
2013-07-23  2:45       ` Martin Papik
2013-07-24  3:33         ` [linux-lvm] pvmove ==> segfault: pvs --all -o +vg_fmt Martin Papik
2013-09-23 20:38         ` [linux-lvm] pvmove Alasdair G Kergon
2013-09-23 20:56         ` Alasdair G Kergon
2013-09-23 21:10         ` Alasdair G Kergon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-12  7:44 Juan Pablo Giménez
2003-07-12  8:29 ` Joe Thornber

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=20130923211049.GE24022@agk-dp.fab.redhat.com \
    --to=agk@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=mp6058@gmail.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 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 NNTP newsgroup(s).