]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Btrfs: use a dedicated inode num for root root dir
authorChris Mason <chris.mason@oracle.com>
Wed, 11 Apr 2007 12:59:20 +0000 (08:59 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Wed, 11 Apr 2007 12:59:20 +0000 (08:59 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/TODO
fs/btrfs/ctree.h

index 4cd11a1b4b32766ab3c7e5d4b2850345465005af..1c3acfcf146e697d7727c1ecea0138ac308f9ed6 100644 (file)
@@ -6,9 +6,7 @@
 * Make sure nobh stuff is working properly for cows
 * Do actual block accounting
 * Check compat and incompat flags on the inode
-* Add virtual filesystems, mountable snapshots
 * Get rid of struct ctree_path, limiting tree levels held at one time
-* EEXIST for dirs instead of hash overflow
 * Release
 * Do real tree locking
 * Add extent mirroring (backup copies of blocks)
 * fsck
 * Scrub & defrag
 
----
-metata FS ideas:
-mount metadata FS on /sys/fs/btrfs/dev/
-subvolumes in /sys/fs/btrfs/dev/fs/
-snapshots in /sys/fs/btrfs/dev/fs/snapshots
-mount -o bind
-ioctl to create a snapshot
index 0ba560f0d2a686e3192684247ee1658d1f91bd0b..3f3a23f52a3b0006e04cef1accb563d3178c1a0f 100644 (file)
@@ -15,7 +15,8 @@ extern struct kmem_cache *btrfs_path_cachep;
 #define BTRFS_ROOT_TREE_OBJECTID 1ULL
 #define BTRFS_EXTENT_TREE_OBJECTID 2ULL
 #define BTRFS_FS_TREE_OBJECTID 3ULL
-#define BTRFS_FIRST_FREE_OBJECTID 4ULL
+#define BTRFS_ROOT_TREE_DIR_OBJECTID 4ULL
+#define BTRFS_FIRST_FREE_OBJECTID 5ULL
 
 /*
  * we can actually store much bigger names, but lets not confuse the rest