Commit Graph

1347 Commits

Author SHA1 Message Date
Chris Mason
da99898c78 Use a chunk of the key flags to record the item type.
Add (untested and simple) directory item code
Fix comp_keys to use the new key ordering
Add btrfs_insert_empty_item
2007-03-15 12:56:47 -04:00
Chris Mason
c8afca944b reorder key offset and flags 2007-03-14 14:26:53 -04:00
Chris Mason
7a0a809b4c variable block size support 2007-03-14 14:14:43 -04:00
Chris Mason
942050de0e add leaf data casting helper 2007-03-14 10:31:29 -04:00
Chris Mason
0975c87bce properly reset block cache on free 2007-03-14 09:20:39 -04:00
Chris Mason
d9c9960f8d Change the super to point to a tree of trees to enable persistent snapshots 2007-03-13 16:47:54 -04:00
Chris Mason
6a332a71ba merge leaves before split 2007-03-13 11:17:52 -04:00
Chris Mason
2c4257a341 make some funcs static 2007-03-13 11:09:37 -04:00
Chris Mason
aa60202f13 rename funcs and structs to btrfs 2007-03-13 10:46:10 -04:00
Chris Mason
56042e6ad4 struct extent_item endian 2007-03-13 09:49:06 -04:00
Chris Mason
3192451f58 node->blockptrs endian fixes 2007-03-13 09:28:32 -04:00
Chris Mason
f6a88938c6 struct item endian fixes 2007-03-12 20:12:07 -04:00
Chris Mason
b2e2afd7b4 struct key endian fixes 2007-03-12 16:22:34 -04:00
Chris Mason
ce3b109650 Add sparse endian annotations to struct header
rename struct header to btrfs_header
2007-03-12 12:29:44 -04:00
Chris Mason
8e17fab249 get/set for struct header fields 2007-03-12 12:01:18 -04:00
Chris Mason
2db1ff3570 fix leak in btrfs_drop_snapshot 2007-03-12 09:03:27 -04:00
Chris Mason
84084892fb recursion free-first pass 2007-03-10 06:35:47 -05:00
Chris Mason
2adfc44778 Fixup last found extent caching 2007-03-07 16:15:30 -05:00
Chris Mason
4c4eac1f03 get rid of add recursion 2007-03-07 11:50:24 -05:00
Chris Mason
79b90e3fdf Fixup reference counting on cows 2007-03-06 20:08:01 -05:00
Chris Mason
7da449a2f6 early reference counting 2007-03-02 16:08:05 -05:00
Chris Mason
bd530a2cff period commit during initial fill in the random tester 2007-03-02 10:06:43 -05:00
Chris Mason
11bc1cd2a5 Fix extent code to use merge during delete
Remove implicit commit in del_item and insert_item
Add implicit commit to close()
Add commit op in random-test
2007-03-02 09:47:58 -05:00
Chris Mason
a71a25da69 pretend page cache & commit code 2007-03-01 18:59:40 -05:00
Chris Mason
fa070f3071 Fixup the code to merge during path walks
Add a bulk insert/remove test to random-test
Add the quick-test code back as another regression test
2007-03-01 15:16:26 -05:00
Chris Mason
c6cc57e031 merge on the way down during deletes 2007-03-01 12:04:21 -05:00
Chris Mason
157a0bc7ce more return code checking 2007-02-28 16:46:22 -05:00
Chris Mason
92ce8be120 return code checking 2007-02-28 16:35:06 -05:00
Chris Mason
9b4f51240c Add sparse checking to Makefile 2007-02-28 09:40:58 -05:00
Chris Mason
0317678f00 Take out the merge-during-search-on-delete code, it is buggy. 2007-02-28 09:27:02 -05:00
Chris Mason
7fe73148eb more 32 bit cleanups 2007-02-26 14:26:58 -05:00
Chris Mason
ed0a072aca 32bit cleanups 2007-02-26 10:55:42 -05:00
Chris Mason
46db63cb16 u64 cleanups 2007-02-26 10:55:01 -05:00
Chris Mason
67a8d4bbac fixup dbfile perms 2007-02-26 10:46:55 -05:00
Chris Mason
8f3b86bae3 Add fsx-style randomized tree tester
Add debug-tree command to print the tree
Add extent-tree.c to the repo
Comment ctree.h
2007-02-26 10:40:21 -05:00
Chris Mason
f463391fd2 cleanup & comment 2007-02-24 13:39:08 -05:00
Chris Mason
065994c994 push_leaf_right 2007-02-24 12:47:20 -05:00
Chris Mason
74556aa757 Break up ctree.c a little
Extent fixes
2007-02-24 06:24:44 -05:00
Chris Mason
c6c63c3e74 Block sized tree extents and extent deletion 2007-02-23 08:38:36 -05:00
Chris Mason
e0bafb2999 switch to early splits 2007-02-22 11:39:13 -05:00
Chris Mason
72777fbe29 extent fixes 2007-02-21 17:04:57 -05:00
Chris Mason
828ba34028 add mkfs.c 2007-02-20 16:41:09 -05:00
Chris Mason
c12e4863d2 early extent mapping support 2007-02-20 16:40:44 -05:00
Chris Mason
1c62d091b2 Commenting/cleanup 2007-02-02 11:05:29 -05:00
Chris Mason
215ad20a9b Add backing store, memory management 2007-02-02 09:18:22 -05:00
Chris Mason
5622872d31 Faster deletes, add Makefile and kerncompat 2007-01-26 16:38:42 -05:00
Chris Mason
74e9eb2068 Initial checkin, basic working tree code 2007-01-26 15:51:26 -05:00