Add btrfs-map-logical program to map and read logical block numbers
commitab8fb4c99516c186641bda1dbc0e788f68b4dc77
authorChris Mason <chris.mason@oracle.com>
Thu, 12 Nov 2009 19:34:09 +0000 (12 14:34 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 12 Nov 2009 19:49:03 +0000 (12 14:49 -0500)
tree1d0d59910d56a51b705ae5428d0910a074145bc9
parent6f3cf25a4e7932bc737ed06bc95f73f80772092d
Add btrfs-map-logical program to map and read logical block numbers

This allows us to figure out which physical byte offset on which device
is the real location for a given logical block number.  It can
optionally read the block in and save it to a file for debugging
analysis.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Makefile
btrfs-map-logical.c [new file with mode: 0644]