Btrfs: Extent based page cache code. This uses an rbtree of extents and tests

instead of buffer heads.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-08-27 16:49:44 -04:00
committed by David Woodhouse
parent 83df7c1d8b
commit a52d9a8033
9 changed files with 2213 additions and 679 deletions

View File

@@ -185,6 +185,7 @@ static int __init init_btrfs_fs(void)
err = btrfs_init_cachep();
if (err)
return err;
extent_map_init();
return register_filesystem(&btrfs_fs_type);
}
@@ -192,6 +193,7 @@ static void __exit exit_btrfs_fs(void)
{
btrfs_exit_transaction_sys();
btrfs_destroy_cachep();
extent_map_exit();
unregister_filesystem(&btrfs_fs_type);
}