summaryrefslogtreecommitdiff
path: root/print-tree.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove offset field from struct btrfs_extent_refYan Zheng2008-10-091-2/+1
| | | | | | | | | | | | | | The offset field in struct btrfs_extent_ref records the position inside file that file extent is referenced by. In the new back reference system, tree leaves holding reference to file extent are recorded explicitly. We can quickly scan these tree leaves, so the offset field is not required. This patch also makes the back reference system check the objectid when extents are being deleted Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
* Full back reference supportZheng Yan2008-09-231-2/+3
| | | | | | | | This patch makes the back reference system to explicit record the location of parent node for all types of extents. The location of parent node is placed into the offset field of backref key. Every time a tree block is balanced, the back references for the affected lower level extents are updated.
* btrfs-progs: add orphan support to print-treeJosef Bacik2008-07-301-0/+3
| | | | | This adds orphan support to print-tree so when debug_tree hits an orphan item it will print out "orphan item" under it so you know what it is
* btrfs-progs new dir index supportJosef Bacik2008-07-241-2/+4
|
* Pass down the expected generation number when reading tree blocksChris Mason2008-05-121-1/+2
|
* Add chunk uuids and update multi-device back referencesChris Mason2008-04-151-5/+40
| | | | | | | | | | | | | | | | | | Block headers now store the chunk tree uuid Chunk items records the device uuid for each stripes Device extent items record better back refs to the chunk tree Block groups record better back refs to the chunk tree The chunk tree format has also changed. The objectid of BTRFS_CHUNK_ITEM_KEY used to be the logical offset of the chunk. Now it is a chunk tree id, with the logical offset being stored in the offset field of the key. This allows a single chunk tree to record multiple logical address spaces, upping the number of bytes indexed by a chunk tree from 2^64 to 2^128.
* Btrfsck updates for multi-device filesystemsChris Mason2008-03-241-13/+2
|
* Add support for multiple devices per filesystemChris Mason2008-03-241-2/+51
|
* btrfs_print_node: don't use btrfs_item_key_to_cpu on nodesChris Mason2008-01-071-1/+1
|
* Update btrfs-progs to match kernel sourcesYan2008-01-041-88/+104
|
* Add back pointers from the inode to the directory that referenced itChris Mason2007-12-121-0/+23
|
* Add back pointers from extents to the file or btree referencing themChris Mason2007-12-111-3/+12
|
* Add generation numbers to block pointersChris Mason2007-12-091-2/+3
|
* xattr support for btrfs-progsJosef Bacik2007-11-161-4/+7
|
* Switch to byte granular allocationsChris Mason2007-10-151-11/+17
|
* Allow large blocksChris Mason2007-10-151-3/+3
|
* extra stats for btrfsck, link count in print-tree.cChris Mason2007-09-141-2/+3
|
* add defrag ioctlv0.6Chris Mason2007-08-071-0/+10
|
* add GPLv2Chris Mason2007-06-121-0/+18
|
* printf cleanupsChris Mason2007-06-121-36/+37
|
* remove device treeChris Mason2007-06-091-9/+0
|
* data vs metadata flag for block groupsChris Mason2007-05-301-2/+2
|
* allocator improvements, inode block groupsChris Mason2007-04-301-1/+2
|
* start of block group codeChris Mason2007-04-261-5/+7
|
* get rid of the extent_item type fieldChris Mason2007-04-241-2/+1
|
* add owner and type fields to the extents aand block headersChris Mason2007-04-201-6/+10
|
* bring back the inode number directory indexChris Mason2007-04-191-12/+22
|
* inline file data in extentsChris Mason2007-04-191-0/+6
|
* key flag reorgChris Mason2007-04-181-2/+2
|
* rework csum and extent item orderingChris Mason2007-04-171-2/+2
|
* early work to file_write in big extentsChris Mason2007-04-161-0/+6
|
* add some support for multiple devices to progsChris Mason2007-04-121-1/+2
|
* early support for multiple devicesChris Mason2007-04-111-0/+8
|
* drop owner and parentidChris Mason2007-04-101-6/+4
|
* drop the inode map treeChris Mason2007-04-101-8/+0
|
* start of support for subvolumesChris Mason2007-04-061-9/+11
|
* dir inode indexChris Mason2007-04-041-0/+9
|
* update print-tree for inline dataChris Mason2007-04-041-0/+5
|
* add file extents to print_leafChris Mason2007-03-261-0/+11
|
* generations on headersChris Mason2007-03-261-4/+9
|
* create a root dir in mkfsChris Mason2007-03-211-2/+3
|
* change dir-test to insert inode_itemsChris Mason2007-03-201-0/+5
|
* Add inode map, and the start of file extent itemsChris Mason2007-03-201-4/+9
|
* add a name_len to dir items, reorder keyChris Mason2007-03-161-4/+4
|
* directory testing code and dir item fixesChris Mason2007-03-151-0/+12
|
* Use a chunk of the key flags to record the item type.Chris Mason2007-03-151-11/+25
| | | | | | Add (untested and simple) directory item code Fix comp_keys to use the new key ordering Add btrfs_insert_empty_item
* reorder key offset and flagsChris Mason2007-03-141-5/+7
|
* variable block size supportChris Mason2007-03-141-7/+8
|
* add leaf data casting helperChris Mason2007-03-141-3/+2
|
* Change the super to point to a tree of trees to enable persistent snapshotsChris Mason2007-03-131-4/+6
|