From 6d37fbfc1f83c34f00df7c9d8e5b60e49d9db48d Mon Sep 17 00:00:00 2001 From: Arne Jansen Date: Mon, 28 Nov 2011 17:12:30 +0100 Subject: Btrfs-progs: tool to visualize fragmentation This tool draws per-chunk pngs representing the allocation map. A black or colored dot means the block is allocated. The output is written to a subdirectory, together with an index.html to be viewed in a browser. There are options to control whether color should be used and which block group types should be printed. To build, you need to have libpng and libgd installed. It is not part of the 'all' target, so please build it explicitely with make btrfs-fragments. A (rather untypical) example can be seen at http://sensille.com/fragments Please regard this as a first scratch version and feel free to improve it :) Signed-off-by: Arne Jansen --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 29836ed4..a7e1b196 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ btrfs btrfs.static btrfs-debug-tree btrfs-map-logical +btrfs-fragments btrfsck calc-size ioctl-test -- cgit v1.2.3