e2fsprogs/lib
Eric Sandeen 9fd6a96d9b libext2fs: Teach extent.c how to split nodes
When called for a given handle, the new function extent_node_split()
will split the current node such that half of the node's entries will
be moved to a new tree block.  The parent will then be updated to
point to the (now smaller) original node as well as the new node.

If the root node is requested to be split, it will move all
entries out to a new node, and leave a single entry in the
root pointing to that new node.

If the reqested split node's parent is full it will recursively
split up to the root to make room for the new node's insertion.

If you ask to split a non-root node with only one entry,
it will refuse (we'd have an empty node otherwise).

It also updates the i_blocks count when a new block has
successfully been connected to the tree.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2008-06-02 10:13:59 -04:00
..
blkid Remove bashism in test script for libblkid 2008-05-25 19:45:29 -04:00
e2p Basic flexible block group support 2008-04-22 23:32:15 -04:00
et Merge branch 'maint' into next 2008-02-10 08:03:54 -05:00
ext2fs libext2fs: Teach extent.c how to split nodes 2008-06-02 10:13:59 -04:00
ss Merge branch 'maint' 2008-04-17 16:32:28 -04:00
uuid libuuid: don't use unitialized variable 2008-05-11 20:41:15 -04:00
Makefile.bsd-lib Fix profile, checker, and shared-library building on non-Linux platforms 2008-01-01 16:48:09 -05:00
Makefile.checker Fix profile, checker, and shared-library building on non-Linux platforms 2008-01-01 16:48:09 -05:00
Makefile.darwin-lib Fix profile, checker, and shared-library building on non-Linux platforms 2008-01-01 16:48:09 -05:00
Makefile.elf-lib Fix the subdirs logic so it works with GNU make 3.80 2006-03-10 21:39:40 -05:00
Makefile.library Fix parallel build problem 2008-05-11 20:34:12 -04:00
Makefile.profile Fix profile, checker, and shared-library building on non-Linux platforms 2008-01-01 16:48:09 -05:00
Makefile.solaris-lib Fix profile, checker, and shared-library building on non-Linux platforms 2008-01-01 16:48:09 -05:00
fpopen.c fpopen.c: 1999-06-18 01:13:31 +00:00