diff options
| author | Stefan Roesch <shr@fb.com> | 2022-02-08 11:31:20 -0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:32 +0200 |
| commit | f6fca3917b4d99d8c13901738afec35f570a3c2f (patch) | |
| tree | 23209c8ca9e98df1abfa6a48afcfca15f7448b40 /tools/perf/scripts/python/bin | |
| parent | btrfs: do not batch insert non-consecutive dir indexes during log replay (diff) | |
| download | linux-f6fca3917b4d99d8c13901738afec35f570a3c2f.tar.gz linux-f6fca3917b4d99d8c13901738afec35f570a3c2f.zip | |
btrfs: store chunk size in space-info struct
The chunk size is stored in the btrfs_space_info structure. It is
initialized at the start and is then used.
A new API is added to update the current chunk size. This API is used
to be able to expose the chunk_size as a sysfs setting.
Signed-off-by: Stefan Roesch <shr@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ rename and merge helpers, switch atomic type to u64, style fixes ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
