summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-03-13 17:09:53 -0400
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:03:50 +0100
commitcd22a51c6650f567f297215dd7c47c3401ee7290 (patch)
tree829a283dc7c4beed3cac5b8bcf364f62b85d249b /fs/btrfs/relocation.c
parent9babda9f33fdb738b1aee770dcc130f25b67a6f0 (diff)
downloadlinux-cd22a51c6650f567f297215dd7c47c3401ee7290.tar.bz2
btrfs: do not use readahead for running delayed refs
Readahead will generate a lot of extra reads for adjacent nodes, but when running delayed refs we have no idea if the next ref is going to be adjacent or not, so this potentially just generates a lot of extra IO. To make matters worse each ref is truly just looking for one item, it doesn't generally search forward, so we simply don't need it here. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions