Displaying 1 result from an estimated 1 matches for "cache_miss".
2007 Nov 12
0
[PATCH]Minor fix for find_search_start
...lock_group_cache *cache = *cache_ret;
@@ -221,7 +222,8 @@ wrapped:
cache = btrfs_lookup_block_group(root->fs_info, last);
}
- cache = btrfs_find_block_group(root, cache, last, data, 0);
+ if (!full_scan)
+ cache = btrfs_find_block_group(root, cache, last, data, 0);
*cache_ret = cache;
cache_miss = 0;
goto again;
@@ -955,8 +957,8 @@ static int find_free_extent(struct btrfs
path = btrfs_alloc_path();
check_failed:
- search_start = find_search_start(root, &block_group,
- search_start, total_needed, data);
+ search_start = find_search_start(root, &block_group, search_start,...