aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-11 08:59:20 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-11 08:59:20 -0400
commitcac87faa09f56776602d4b6f15c1bd44f6da300e (patch)
treef50cd58421bf52a9339516974223739aa8afbffd
parent2d13d8d065cc7bbee6b1ad6ee3fe965d66badfe6 (diff)
Btrfs: use a dedicated inode num for root root dir
Signed-off-by: Chris Mason <chris.mason@oracle.com>
-rw-r--r--fs/btrfs/TODO9
-rw-r--r--fs/btrfs/ctree.h3
2 files changed, 2 insertions, 10 deletions
diff --git a/fs/btrfs/TODO b/fs/btrfs/TODO
index 4cd11a1b4b32..1c3acfcf146e 100644
--- a/fs/btrfs/TODO
+++ b/fs/btrfs/TODO
@@ -6,9 +6,7 @@
6* Make sure nobh stuff is working properly for cows 6* Make sure nobh stuff is working properly for cows
7* Do actual block accounting 7* Do actual block accounting
8* Check compat and incompat flags on the inode 8* Check compat and incompat flags on the inode
9* Add virtual filesystems, mountable snapshots
10* Get rid of struct ctree_path, limiting tree levels held at one time 9* Get rid of struct ctree_path, limiting tree levels held at one time
11* EEXIST for dirs instead of hash overflow
12* Release 10* Release
13* Do real tree locking 11* Do real tree locking
14* Add extent mirroring (backup copies of blocks) 12* Add extent mirroring (backup copies of blocks)
@@ -20,10 +18,3 @@
20* fsck 18* fsck
21* Scrub & defrag 19* Scrub & defrag
22 20
23---
24metata FS ideas:
25mount metadata FS on /sys/fs/btrfs/dev/
26subvolumes in /sys/fs/btrfs/dev/fs/
27snapshots in /sys/fs/btrfs/dev/fs/snapshots
28mount -o bind
29ioctl to create a snapshot
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 0ba560f0d2a6..3f3a23f52a3b 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -15,7 +15,8 @@ extern struct kmem_cache *btrfs_path_cachep;
15#define BTRFS_ROOT_TREE_OBJECTID 1ULL 15#define BTRFS_ROOT_TREE_OBJECTID 1ULL
16#define BTRFS_EXTENT_TREE_OBJECTID 2ULL 16#define BTRFS_EXTENT_TREE_OBJECTID 2ULL
17#define BTRFS_FS_TREE_OBJECTID 3ULL 17#define BTRFS_FS_TREE_OBJECTID 3ULL
18#define BTRFS_FIRST_FREE_OBJECTID 4ULL 18#define BTRFS_ROOT_TREE_DIR_OBJECTID 4ULL
19#define BTRFS_FIRST_FREE_OBJECTID 5ULL
19 20
20/* 21/*
21 * we can actually store much bigger names, but lets not confuse the rest 22 * we can actually store much bigger names, but lets not confuse the rest