diff options
author | 2025-01-02 02:06:33 +0800 | |
---|---|---|
committer | 2025-01-13 14:53:21 +0100 | |
commit | b6bed20ed398f71069bfd2cd769bb91fa15859b5 (patch) | |
tree | eabee158e98e453d111e0234d8e348506400c2a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: sysfs: add btrfs_read_policy_to_enum() helper and refactor read policy store (diff) | |
download | wireguard-linux-b6bed20ed398f71069bfd2cd769bb91fa15859b5.tar.xz wireguard-linux-b6bed20ed398f71069bfd2cd769bb91fa15859b5.zip |
btrfs: sysfs: handle value associated with read balancing policy
Enable specifying additional configuration values along the RAID1
balancing read policy in a single input string.
Update btrfs_read_policy_to_enum() to parse and handle a value
associated with the policy in the format "policy:value", the value part
if present is converted to 64-bit integer.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions