diff options
| author | David Sterba <dsterba@suse.com> | 2020-07-02 11:10:18 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:53:58 +0100 |
| commit | 22b6331d961712ac2735423e5a6c04e9d0fd7897 (patch) | |
| tree | fa75be6649cd24450abcd3d9367a15bb0560e01d /tools/perf/scripts/python/flamegraph.py | |
| parent | btrfs: replace s_blocksize_bits with fs_info::sectorsize_bits (diff) | |
| download | linux-22b6331d961712ac2735423e5a6c04e9d0fd7897.tar.gz linux-22b6331d961712ac2735423e5a6c04e9d0fd7897.zip | |
btrfs: store precalculated csum_size in fs_info
In many places we need the checksum size and it is inefficient to read
it from the raw superblock. Store the value into fs_info, actual use
will be in followup patches. The size is u32 as it allows to generate
better assembly than with u16.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
