From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: [PATCH] thin_dump: added --device-id, --skip-mappings, and new output --format's Date: Thu, 24 Mar 2016 15:35:10 +0000 Message-ID: <20160324153509.GA3101@rh-vpn> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Eric Wheeler Cc: dm-devel@redhat.com List-Id: dm-devel.ids 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. - Joe