]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_db: introduce the 'fsmap' command to find what owns a set of fsblocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 18 Aug 2016 23:47:57 +0000 (09:47 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Aug 2016 23:47:57 +0000 (09:47 +1000)
commit86bb49e43baba1cfb3529bc93df0d730e948bd1d
tree45d2412186ef4ae319ec8fb95034bb76a8e8ad98
parente434854e45f34594479461efd13fa461be4376b5
xfs_db: introduce the 'fsmap' command to find what owns a set of fsblocks

Introduce a new 'fsmap' command to the fs debugger that will query the
rmap btree to report the file/metadata extents mapped to a range of
physical blocks.

[dchinner: xfs_rmap_query_range -> libxfs_rmap_query_range]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
db/Makefile
db/command.c
db/fsmap.c [new file with mode: 0644]
db/fsmap.h [new file with mode: 0644]
libxfs/libxfs_api_defs.h
man/man8/xfs_db.8