diff options
author | Qu Wenruo <wqu@suse.com> | 2020-05-05 07:58:19 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-05-25 11:25:30 +0200 |
commit | 83fe9e12b0558eae519351cff00da1e06bc054d2 (patch) | |
tree | 5124f3007e6af4b9875093d8715b6409d46f05d2 /fs/btrfs | |
parent | 89efda52e6b6930f80f5adda9c3c9edfb1397191 (diff) | |
download | linux-83fe9e12b0558eae519351cff00da1e06bc054d2.tar.bz2 |
btrfs: block-group: don't set the wrong READA flag for btrfs_read_block_groups()
Regular block group items in extent tree are scattered inside the huge
tree, thus forward readahead makes no sense.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/block-group.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/block-group.c b/fs/btrfs/block-group.c index c68d8e06f794..1137597fbca5 100644 --- a/fs/btrfs/block-group.c +++ b/fs/btrfs/block-group.c @@ -1988,7 +1988,6 @@ int btrfs_read_block_groups(struct btrfs_fs_info *info) path = btrfs_alloc_path(); if (!path) return -ENOMEM; - path->reada = READA_FORWARD; cache_gen = btrfs_super_cache_generation(info->super_copy); if (btrfs_test_opt(info, SPACE_CACHE) && |