13 Feb, 2009
1 commit
-
btrfs_init_path was initially used when the path objects were on the
stack. Now all the work is done by btrfs_alloc_path and btrfs_init_path
isn't required.This patch removes it, and just uses kmem_cache_zalloc to zero out the object.
Signed-off-by: Chris Mason
06 Jan, 2009
1 commit
-
There were many, most are fixed now. struct-funcs.c generates some warnings
but these are bogus.Signed-off-by: Chris Mason
26 Sep, 2008
1 commit
-
* Add an EXTENT_BOUNDARY state bit to keep the writepage code
from merging data extents that are in the process of being
relocated. This allows us to do accounting for them properly.* The balancing code relocates data extents indepdent of the underlying
inode. The extent_map code was modified to properly account for
things moving around (invalidating extent_map caches in the inode).* Don't take the drop_mutex in the create_subvol ioctl. It isn't
required.* Fix walking of the ordered extent list to avoid races with sys_unlink
* Change the lock ordering rules. Transaction start goes outside
the drop_mutex. This allows btrfs_commit_transaction to directly
drop the relocation trees.Signed-off-by: Chris Mason
25 Sep, 2008
4 commits
-
Orphan items use BTRFS_ORPHAN_OBJECTID (-5UUL) as key objectid. This
affects the find free objectid functions, inode objectid can easily
overflow after orphan file cleanup.---
Signed-off-by: Chris Mason
-
Extent alloctions are still protected by a large alloc_mutex.
Objectid allocations are covered by a objectid mutex
Other btree operations are protected by a lock on individual btree nodesSigned-off-by: Chris Mason
-
btrfs_find_free_objectid may return a used objectid due to arithmetic
underflow. This bug may happen when parameter 'root' is tree root, so
it may cause serious problems when creating snapshot or sub-volume.Signed-off-by: Chris Mason
-
Signed-off-by: Chris Mason
11 Jul, 2007
1 commit
-
Almost none of the files including module.h need to do so,
remove them.Include sched.h in extent-tree.c to silence a warning about cond_resched()
being undeclared.Signed-off-by: Zach Brown
Signed-off-by: Chris Mason
12 Jun, 2007
1 commit
-
Signed-off-by: Chris Mason
11 Apr, 2007
1 commit
-
Signed-off-by: Chris Mason
06 Apr, 2007
1 commit
-
Signed-off-by: Chris Mason
05 Apr, 2007
1 commit
-
Signed-off-by: Chris Mason
03 Apr, 2007
1 commit
-
Signed-off-by: Chris Mason
31 Mar, 2007
1 commit
-
Signed-off-by: Chris Mason
27 Mar, 2007
1 commit
-
Signed-off-by: Chris Mason
23 Mar, 2007
2 commits
-
Signed-off-by: Chris Mason
-
Signed-off-by: Chris Mason
21 Mar, 2007
2 commits
-
Signed-off-by: Chris Mason
-
Signed-off-by: Chris Mason