From: Alasdair G Kergon <agk@redhat.com>
To: Yann Droneaud <yann@droneaud.fr>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] lvmtrim
Date: Wed, 19 Oct 2011 14:16:09 +0100 [thread overview]
Message-ID: <20111019131609.GS24527@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <20111019130723.GR24527@agk-dp.fab.redhat.com>
On Wed, Oct 19, 2011 at 02:07:23PM +0100, Alasdair G Kergon wrote:
> 2) Add vgtrim (+man page) which takes VG-style arguments, uses
> process_each_pv_in_vg which uses process_each_segment_in_pv which checks if
> segment is free and if so calls the code from (1) to issue a discard on it.
Adding a new cmd involves:
create tools/vgtrim.c (e.g. use stripped down vgdisplay.c as template?)
Add to SOURCES in Makefile
Add section to commands.h (alphabetically)
Alasdair
next prev parent reply other threads:[~2011-10-19 13:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 12:48 [linux-lvm] lvmtrim Yann Droneaud
2011-10-19 12:56 ` Alasdair G Kergon
2011-10-19 13:07 ` Alasdair G Kergon
2011-10-19 13:16 ` Alasdair G Kergon [this message]
2011-10-19 13:26 ` Yann Droneaud
2011-10-19 13:29 ` Alasdair G Kergon
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=20111019131609.GS24527@agk-dp.fab.redhat.com \
--to=agk@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=yann@droneaud.fr \
/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).