From: Eric Wheeler Subject: Re: [PATCH] thin_dump: added --device-id, --skip-mappings, and new output --format's Date: Mon, 28 Mar 2016 02:51:37 +0000 (UTC) Message-ID: References: <20160324153509.GA3101@rh-vpn> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160324153509.GA3101@rh-vpn> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Joe Thornber Cc: dm-devel@redhat.com List-Id: dm-devel.ids On Thu, 24 Mar 2016, Joe Thornber wrote: > On Tue, Mar 15, 2016 at 01:45:15AM +0000, Eric Wheeler wrote: > > Hi Joe, > > > > Please review the patch below when you have a moment. I am interested in > > your feedback, and also interested in having this functionality merged > > upstream. This was written against thin-provisioning-tools.git tag > > v0.5.6. > > These changes are now on the v0.7-devel branch: > > i) --dev-id to filter thin_dump output on device id, multiple selections allowed. > ii) --skip-mappings > iii) thin_dump now takes a format called 'custom' that let's you use a plugin emitter of your own. > > eg, > > thin_dump --format custom=contrib/ewheeler_emitter.so /dev/sda > > > The contrib/ directory is for third party contributions. Use 'make > contrib' to build it. I've put your emitter and tmakatos' emitter in > there already. > > I hope that covers everything you need. I think that will work nicely. Thank you! -Eric > > - Joe >