search for: cache_ret

Displaying 2 results from an estimated 2 matches for "cache_ret".

Did you mean: cache_reg
2007 Nov 12
0
[PATCH]Minor fix for find_search_start
...--- diff -r 433cf4043126 extent-tree.c --- a/extent-tree.c Sun Nov 11 08:22:00 2007 -0500 +++ b/extent-tree.c Mon Nov 12 18:44:36 2007 +0800 @@ -161,7 +161,8 @@ struct btrfs_block_group_cache *btrfs_lo static u64 find_search_start(struct btrfs_root *root, struct btrfs_block_group_cache **cache_ret, - u64 search_start, int num, int data) + u64 search_start, int num, + int data, int full_scan) { int ret; struct btrfs_block_group_cache *cache = *cache_ret; @@ -221,7 +222,8 @@ wrapped: cache = btrfs_lookup_block_group(root->fs_info, last); } - cache = btrfs_fin...
2008 Oct 10
1
[PATCH] fix enospc when there is plenty of space
...c index 280ac1a..ad648a3 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -317,59 +317,6 @@ struct btrfs_block_group_cache *btrfs_lookup_block_group(struct return cache; } -static int noinline find_free_space(struct btrfs_root *root, - struct btrfs_block_group_cache **cache_ret, - u64 *start_ret, u64 num, int data) -{ - int ret; - struct btrfs_block_group_cache *cache = *cache_ret; - struct btrfs_free_space *info = NULL; - u64 last; - u64 search_start = *start_ret; - - WARN_ON(!mutex_is_locked(&root->fs_info->alloc_mutex)); - if (!cache) - goto out; - -...