summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2012-02-25 09:09:47 +0100
committerDavid Sterba <dsterba@suse.cz>2012-04-18 19:12:44 +0200
commit207a232ccac0a8cb79d304bd17298dbc96e2e082 (patch)
treebaed843e078e80d04ff28054751dea22e98bea0b /fs/btrfs/extent_map.c
parent8c9c2bf7a3c4f7e9d158c0be9c49f372fb943ad2 (diff)
downloadop-kernel-dev-207a232ccac0a8cb79d304bd17298dbc96e2e082.zip
op-kernel-dev-207a232ccac0a8cb79d304bd17298dbc96e2e082.tar.gz
btrfs: don't add both copies of DUP to reada extent tree
Normally when there are 2 copies of a block, we add both to the reada extent tree and prefetch only the one that is easier to reach. This way we can better utilize multiple devices. In case of DUP this makes no sense as both copies reside on the same device. Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'fs/btrfs/extent_map.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud