diff options
| author | Qu Wenruo <[email protected]> | 2022-08-24 09:14:05 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-09-26 12:28:01 +0200 |
| commit | ed2e35d85d61d00132dee8c04d02c837ebceaba2 (patch) | |
| tree | 251b9482682ffdd424a1dfa235d0937d4cf57df9 /tools/perf/scripts/python/flamegraph.py | |
| parent | ac3c0d36a2a2f7a8f9778faef3f2639f5bf29d44 (diff) | |
btrfs: sysfs: introduce global qgroup attribute group
Although we already have info kobject for each qgroup, we don't have
global qgroup info attributes to show things like enabled or
inconsistent status flags.
Add this qgroups attribute groups, and the first member is qgroup_flags,
which is a read-only attribute to show human readable qgroup flags.
The path is:
/sys/fs/btrfs/<uuid>/qgroups/enabled
/sys/fs/btrfs/<uuid>/qgroups/inconsistent
The output is simple, just 1 or 0.
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions