diff options
author | Anand Jain <anand.jain@oracle.com> | 2025-01-02 02:06:36 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 14:53:21 +0100 |
commit | c86aae73bd5882e4a6b4e1b6ed448ea902551f80 (patch) | |
tree | 2b60f56e491bd881fa2708af71f94dc4943e1793 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6d7a9154955e50c0b991063c65f86ab24796754e (diff) |
btrfs: add read policy to set a preferred device
Add read policy that will force all reads to go to the given device
(specified by devid) on the RAID1 profiles.
This will be used for testing, e.g. to read from stale device. Users may
find other use cases.
Can be set in sysfs, the value format is "devid:<devid>" to the file
/sys/fs/btrfs/FSID/read_policy
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions