diff options
author | Anand Jain <anand.jain@oracle.com> | 2025-01-02 02:06:31 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 14:53:20 +0100 |
commit | 83be7f8b9c24bd040a348577c7c84fd08911707f (patch) | |
tree | 8d0f4f099ccc8d672a340ca9a06e31f88b9c5dd5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a5019b70704a8cbea4c295ae7a61abd87300ff29 (diff) |
btrfs: sysfs: refactor output formatting in btrfs_read_policy_show()
Refactor the logic in btrfs_read_policy_show() for easier extension with
more balancing methods. Streamline the space and bracket handling
around the active policy without altering the functional output. This
is in preparation to add more methods.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions