[dm-devel] [PATCH] thin_dump: added --device-id, --skip-mappings, and new output --format's

Joe Thornber thornber at redhat.com
Thu Mar 24 15:35:10 UTC 2016


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




More information about the dm-devel mailing list