diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-03-29 11:56:06 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 18:03:11 +0300 |
commit | bb5a098d9791f184899499531ff4411089e2a5e0 (patch) | |
tree | 2fd6a2374e9fcd2f10ff674a6698f0580d6a6a64 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a7bb6bd4bd7ff0440f238deb3510a1037a26f7bc (diff) | |
download | linux-bb5a098d9791f184899499531ff4411089e2a5e0.tar.xz |
btrfs: make the bg_reclaim_threshold per-space info
For non-zoned file systems it's useful to have the auto reclaim feature,
however there are different use cases for non-zoned, for example we may
not want to reclaim metadata chunks ever, only data chunks. Move this
sysfs flag to per-space_info. This won't affect current users because
this tunable only ever did anything for zoned, and that is currently
hidden behind BTRFS_CONFIG_DEBUG.
Tested-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
[ jth restore global bg_reclaim_threshold ]
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.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