diff options
author | 2023-04-27 10:58:20 -0700 | |
---|---|---|
committer | 2023-10-12 16:44:10 +0200 | |
commit | 0182764a21b2923d4c238fed9a54db82b65d33b6 (patch) | |
tree | 19abc2752a985dbe005b7a650cc493b52a87eb2a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: qgroup: add new quota mode for simple quotas (diff) | |
download | wireguard-linux-0182764a21b2923d4c238fed9a54db82b65d33b6.tar.xz wireguard-linux-0182764a21b2923d4c238fed9a54db82b65d33b6.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions