diff options
author | Boris Burkov <boris@bur.io> | 2023-04-27 20:58:20 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 17:44:10 +0300 |
commit | 0182764a21b2923d4c238fed9a54db82b65d33b6 (patch) | |
tree | 19abc2752a985dbe005b7a650cc493b52a87eb2a /tools/perf/scripts/python/syscall-counts.py | |
parent | 182940f4f4dbd932776414744c8de64333957725 (diff) | |
download | linux-0182764a21b2923d4c238fed9a54db82b65d33b6.tar.xz |
btrfs: sysfs: expose quota mode via sysfs
Add a new sysfs file /sys/fs/btrfs/<uuid>/qgroups/mode
which prints out the mode qgroups is running in. The possible modes are
qgroup, and squota.
If quotas are not enabled, then the qgroups directory will not exist,
so don't handle that mode.
Signed-off-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions