aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2020-10-28 21:14:47 +0800
committerDavid Sterba <[email protected]>2020-12-08 15:53:45 +0100
commit3d8cc17a0561dc4c037ede4886d7975009075d6d (patch)
tree4000a04a66987e62d8f4961a046c7b522639cee9 /tools/perf/scripts/python
parent33fd2f714cde793b337b4ca6aaf3a8c68675d74f (diff)
btrfs: sysfs: add per-fs attribute for read policy
Add /sys/fs/btrfs/UUID/read_policy attribute so that the read policy for the raid1, raid1c34 and raid10 can be tuned. When this attribute is read, it will show all available policies, with active policy in [ ]. The read_policy attribute can be written using one of the items listed in there. For example: $ cat /sys/fs/btrfs/UUID/read_policy [pid] $ echo pid > /sys/fs/btrfs/UUID/read_policy 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')
0 files changed, 0 insertions, 0 deletions