diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 96be62450318..1ba2cc58eab5 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -347,7 +347,7 @@ static int caching_kthread(void *data) | |||
347 | */ | 347 | */ |
348 | path->skip_locking = 1; | 348 | path->skip_locking = 1; |
349 | path->search_commit_root = 1; | 349 | path->search_commit_root = 1; |
350 | path->reada = 2; | 350 | path->reada = 1; |
351 | 351 | ||
352 | key.objectid = last; | 352 | key.objectid = last; |
353 | key.offset = 0; | 353 | key.offset = 0; |
@@ -8556,6 +8556,7 @@ int btrfs_read_block_groups(struct btrfs_root *root) | |||
8556 | path = btrfs_alloc_path(); | 8556 | path = btrfs_alloc_path(); |
8557 | if (!path) | 8557 | if (!path) |
8558 | return -ENOMEM; | 8558 | return -ENOMEM; |
8559 | path->reada = 1; | ||
8559 | 8560 | ||
8560 | cache_gen = btrfs_super_cache_generation(&root->fs_info->super_copy); | 8561 | cache_gen = btrfs_super_cache_generation(&root->fs_info->super_copy); |
8561 | if (cache_gen != 0 && | 8562 | if (cache_gen != 0 && |