Skip to content
Commit 207a232c authored by Arne Jansen's avatar Arne Jansen Committed by David Sterba
Browse files

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: default avatarArne Jansen <sensille@gmx.net>
parent 8c9c2bf7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment