Up to [Development] / xfs-cmds / xfsprogs / db
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 3 04:35:04 2008 UTC (9 years ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -4
lines
Diff to previous 1.10 (unified)
Consolidate btree block handling for xfs_db Currently xfs_db has five different implementations for poking at btree blocks, even duplicating code for btree blocks with entirely identical layout (bmapbta vs bmapbtd and bno vs cnt). Merge all these into a single implementation that uses a table of btree characteristics keyed of their magic number. There's probably a way to further consolidate the magic arrays for the different types, but I don't quite understand xfs_db's table driven command parser for that. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of master-melb:xfs-cmds:32248a by kenmcd. Consolidate btree block handling for xfs_db