diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-02-27 13:15:53 +1030 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:56:00 +0200 |
| commit | cab4c8b594e23649591317c5f0606ea6a8a27236 (patch) | |
| tree | 980ab22b99fa2c51374117a10e82e3eacfd621de /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 45cc960ff777ac9f4e57c896f1d01adc99fd696e (diff) | |
btrfs: extract the max compression chunk size into a macro
We have two locations using open-coded 512K size, as the async chunk
size.
For compression we have not only the max size a compressed extent can
represent (128K), but also how large an async chunk can be (512K).
Although we have a macro for the maximum compressed extent size, we do
not have any macro for the async chunk size.
Add such a macro and replace the two open-coded SZ_512K.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
