aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2020-10-28 21:14:46 +0800
committerDavid Sterba <[email protected]>2020-12-08 15:53:44 +0100
commit33fd2f714cde793b337b4ca6aaf3a8c68675d74f (patch)
tree2992c7c3fcd3a34394677cc7a82ea0ba3d0c1eca /tools/perf/scripts/python/bin
parentaaefed207875a0f0c46c4a50dcd0aca0d56b9062 (diff)
btrfs: create read policy framework
As of now, we use the pid method to read striped mirrored data, which means process id determines the stripe id to read. This type of routing typically helps in a system with many small independent processes tying to read random data. On the other hand, the pid based read IO policy is inefficient because if there is a single process trying to read a large file, the overall disk bandwidth remains underutilized. So this patch introduces a read policy framework so that we could add more read policies, such as IO routing based on the device's wait-queue or manual when we have a read-preferred device or a policy based on the target storage caching. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions