Skip to content

Commit

Permalink
Btrfs: transaction handles everywhere
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason authored and David Woodhouse committed Mar 16, 2007
1 parent 88fd146 commit e089f05
Show file tree
Hide file tree
Showing 16 changed files with 426 additions and 303 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC=gcc
CFLAGS = -g -Wall
CFLAGS = -g -Wall -Werror
headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h list.h
objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o \
root-tree.o dir-item.o hash.o file-item.o inode-item.o
Expand All @@ -14,7 +14,7 @@ check=sparse $(CHECKFLAGS)
$(check) $<
$(CC) $(CFLAGS) -c $<

all: tester debug-tree quick-test dir-test
all: tester debug-tree quick-test dir-test tags

debug-tree: $(objects) debug-tree.o
gcc $(CFLAGS) -o debug-tree $(objects) debug-tree.o
Expand Down
2 changes: 2 additions & 0 deletions fs/btrfs/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* Add block mapping tree (simple dm layer)
* Add simple tree locking (semaphore per tree)
* Make allocator smarter
* Only pin blocks allocated in this transaction
* Add transaction handles
* Do actual block accounting
* Check compat and incompat flags on the inode
* Port into the kernel
Expand Down
Loading

0 comments on commit e089f05

Please sign in to comment.