Arne Jansen posted on Sat, 25 Feb 2012 09:09:47 +0100 as excerpted: > 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.
I'm not a coder and thus can't really read the code to know, but wouldn't the same easier-to-reach logic apply there, only to seeking? One of the DUPs should be easier to reach (less seeking) than the other. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html