aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Roesch <[email protected]>2022-02-08 11:31:22 -0800
committerDavid Sterba <[email protected]>2022-07-25 17:45:32 +0200
commit22c55e3bbb20c60846812ea2b8ea0f3153c0df73 (patch)
tree490eb489110368111c9f80c3aa8871b7884ba080 /tools/perf/scripts/python
parent19fc516a516f624fa3b0c329929561186247537e (diff)
btrfs: sysfs: add force_chunk_alloc trigger to force allocation
Adds write-only trigger to force new chunk allocation for a given block group type. It is at /sys/fs/btrfs/<uuid>/allocation/<type>/force_chunk_alloc Note: this is now only for debugging and testing and is enabled with the CONFIG_BTRFS_DEBUG configuration option. The transaction is started from sysfs context and can be problematic in some cases. Signed-off-by: Stefan Roesch <[email protected]> Reviewed-by: David Sterba <[email protected]> [ Changes from the original submission: - update changelog - drop unnecessary error messages - switch value to bool and use kstrtobool - move BTRFS_ATTR_W definition - add comment for using transaction ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions