Chris Mason
3768f3689f
Btrfs: Change the super to point to a tree of trees to enable persistent snapshots
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
eaee50e881
Btrfs: merge leaves before split
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
9aca1d5132
Btrfs: make some funcs static
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
234b63a091
rename funcs and structs to btrfs
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
cf27e1eec0
Btrfs: struct extent_item endian
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
1d4f8a0c1e
Btrfs: node->blockptrs endian fixes
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
0783fcfc4d
Btrfs: struct item endian fixes
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
e2fa7227cd
Btrfs: struct key endian fixes
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
bb492bb0a5
Btrfs: Add sparse endian annotations to struct header
...
rename struct header to btrfs_header
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
7518a238ea
Btrfs: get/set for struct header fields
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
83e15a28e0
fix leak in btrfs_drop_snapshot
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
20524f0226
Btrfs: recursion free-first pass
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
0579da4280
Btrfs: Fixup last found extent caching
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
037e639048
Btrfs: get rid of add recursion
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
a28ec19775
Btrfs: Fixup reference counting on cows
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
02217ed299
Btrfs: early reference counting
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
77ce6846c4
Btrfs: period commit during initial fill in the random tester
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
f0930a37f1
Btrfs: 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
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
ed2ff2cba7
Btrfs: pretend page cache & commit code
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
79f95c82dc
Btrfs: 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
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
bb8039515d
Btrfs: merge on the way down during deletes
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
0f70abe2b3
Btrfs: more return code checking
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
aa5d6bed25
Btrfs: return code checking
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
af86d07efe
Btrfs: Add sparse checking to Makefile
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
8e19f2cd45
Btrfs: Take out the merge-during-search-on-delete code, it is buggy.
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
d16302ab0e
Btrfs: more 32 bit cleanups
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
41903fe666
Btrfs: 32bit cleanups
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
7cf75962ac
Btrfs: u64 cleanups
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
c673024aba
Btrfs: fixup dbfile perms
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
fec577fb7f
Btrfs: Add fsx-style randomized tree tester
...
Add debug-tree command to print the tree
Add extent-tree.c to the repo
Comment ctree.h
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
97571fd0c9
Btrfs: cleanup & comment
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
00ec4c5161
Btrfs: push_leaf_right
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
5de08d7d50
Btrfs: Break up ctree.c a little
...
Extent fixes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
9a8dd1502d
Btrfs: Block sized tree extents and extent deletion
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
5c680ed620
Btrfs: switch to early splits
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
cfaa72952f
Btrfs: extent fixes
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
06ed4b316e
Btrfs: add mkfs.c
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
d97e63b69e
Btrfs: early extent mapping support
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
74123bd72a
Btrfs: Commenting/cleanup
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
eb60ceac0e
Btrfs: Add backing store, memory management
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
4920c9ac9a
Btrfs: Faster deletes, add Makefile and kerncompat
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago
Chris Mason
be0e5c097f
Btrfs: Initial checkin, basic working tree code
...
Signed-off-by: Chris Mason <chris.mason@oracle.com>
18 years ago