summaryrefslogtreecommitdiff
path: root/ctree.c
Commit message (Collapse)AuthorAge
* Fix balance_level to free the middle block if there is room in the left oneChris Mason2008-04-24
| | | | | | balance level starts by trying to empty the middle block, and then pushes from the right to the middle. This might empty the right block and leave a small number of pointers in the middle.
* Don't empty the middle buffer in push_nodes_for_insertChris Mason2008-04-24
|
* Keep more pointers free in the nodes for double splitsChris Mason2008-04-24
|
* Add chunk uuids and update multi-device back referencesChris Mason2008-04-15
| | | | | | | | | | | | | | | | | | 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.
* Change btrfs_map_block to return a structure with mappings for all stripesChris Mason2008-04-09
|
* Recow all roots at the end of mkfsChris Mason2008-04-04
| | | | | | The mkfs code bootstraps the filesystem on a single device. Once the raid block groups are setup, it needs to recow all of the blocks so that each tree is properly allocated.
* btrfs-progs: Fix printf format casting errorsAlex Chiang2008-04-01
| | | | | | | | | | | We get lots of warnings of the flavor: utils.c:441: warning: format '%Lu' expects type 'long long unsigned int' but argument 2 has type 'u64' And thanks to -Werror, the build fails. Clean up these printfs by properly casting the arg to the format specified. Signed-off-by: Alex Chiang <achiang@hp.com>
* Update struct btrfs_header flags, and use it to indicate buffers are writtenChris Mason2008-04-01
|
* Add support for multiple devices per filesystemChris Mason2008-03-24
|
* Call btrfs_cow_block while lowering tree level.Yan2008-02-01
| | | | | | | | When freeing root block of a tree, btrfs_free_extent' parameter 'ref_generation' is from root block itseft. When freeing non-root block, 'ref_generation' is from its parent. so when converting a non-root block to root block, we must guarantee its generation is equal to its parent's generation.
* Copy correct tree when inserting into slot 0Chris Mason2008-01-30
|
* Add inode item and backref in one insert, reducing cpu usageChris Mason2008-01-29
|
* During deletes and truncate, remove many items at once from the treeChris Mason2008-01-29
|
* Remove kernel-space header in btrfs-progsYan2008-01-17
| | | | | | When porting ctree.c in btrfs kernel module to btrfs-progs, I forgot to remove a kernel-space header. This may cause compile error on some system.
* Update btrfs-progs to match kernel sourcesYan2008-01-04
|
* Add back pointers from extents to the file or btree referencing themChris Mason2007-12-11
|
* Add generation numbers to block pointersChris Mason2007-12-09
|
* Update btrfs-progs to better match the kernelYan2007-12-05
|
* Switch to byte granular allocationsChris Mason2007-10-15
|
* Allow large blocksChris Mason2007-10-15
|
* add GPLv2Chris Mason2007-06-12
|
* start of block group codeChris Mason2007-04-26
|
* faster btrfsckChris Mason2007-04-23
|
* add owner and type fields to the extents aand block headersChris Mason2007-04-20
|
* bring back the inode number directory indexChris Mason2007-04-19
|
* rework csum and extent item orderingChris Mason2007-04-17
|
* drop owner and parentidChris Mason2007-04-10
|
* csum data struct changesChris Mason2007-03-29
|
* add generation to file extentsChris Mason2007-03-27
|
* minor commentsChris Mason2007-03-17
|
* transaction handles everywhereChris Mason2007-03-16
|
* pin freed blocks from the FS tree tooChris Mason2007-03-16
|
* add a name_len to dir items, reorder keyChris Mason2007-03-16
|
* Use a chunk of the key flags to record the item type.Chris Mason2007-03-15
| | | | | | Add (untested and simple) directory item code Fix comp_keys to use the new key ordering Add btrfs_insert_empty_item
* variable block size supportChris Mason2007-03-14
|
* merge leaves before splitChris Mason2007-03-13
|
* make some funcs staticChris Mason2007-03-13
|
* rename funcs and structs to btrfsChris Mason2007-03-13
|
* node->blockptrs endian fixesChris Mason2007-03-13
|
* struct item endian fixesChris Mason2007-03-12
|
* struct key endian fixesChris Mason2007-03-12
|
* get/set for struct header fieldsChris Mason2007-03-12
|
* get rid of add recursionChris Mason2007-03-07
|
* Fixup reference counting on cowsChris Mason2007-03-06
|
* early reference countingChris Mason2007-03-02
|
* Fix extent code to use merge during deleteChris Mason2007-03-02
| | | | | | Remove implicit commit in del_item and insert_item Add implicit commit to close() Add commit op in random-test
* pretend page cache & commit codeChris Mason2007-03-01
|
* Fixup the code to merge during path walksChris Mason2007-03-01
| | | | | Add a bulk insert/remove test to random-test Add the quick-test code back as another regression test
* merge on the way down during deletesChris Mason2007-03-01
|
* more return code checkingChris Mason2007-02-28
|