shapor / tux3 (http://shapor.com/tux3)

Tux3 is a write-anywhere, atomic commit, btree-based versioning filesystem. It is the spiritual and moral successor of Tux2, the most famous filesystem that was never released. The main purpose of Tux3 is to embody Daniel Phillips's new ideas on storage data versioning. The secondary goal is to provide a more efficient snapshotting and replication method for the Zumastor NAS project, and a tertiary goal is to be better than ZFS.

Clone this repository (size: 1.3 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/shapor/tux3/
commit 943: fb250bef02ad
parent 942: d282ae2f19d0
branch: default
Make static btree_leaf_split()
OGAWA Hirofumi
14 months ago

Changed (Δ7 bytes):

raw changeset »

user/kernel/btree.c (1 lines added, 1 lines removed)

Up to file-list user/kernel/btree.c:

@@ -666,7 +666,7 @@ int btree_insert_leaf(struct cursor *cur
666
666
	return insert_leaf(cursor, key, leafbuf, 0);
667
667
}
668
668
669
int btree_leaf_split(struct cursor *cursor, tuxkey_t key)
669
static int btree_leaf_split(struct cursor *cursor, tuxkey_t key)
670
670
{
671
671
	trace("split leaf");
672
672
	struct btree *btree = cursor->btree;