diff options
author | 2022-11-14 08:26:32 +0800 | |
---|---|---|
committer | 2022-12-05 18:00:57 +0100 | |
commit | 97e3823933108cfc648bb08d5ad36251b6588164 (patch) | |
tree | 47b277d7ca595f2acac299efae1095b5d67a9a9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: refactor checksum calculations in btrfs_lookup_csums_range() (diff) | |
download | linux-rng-97e3823933108cfc648bb08d5ad36251b6588164.tar.xz linux-rng-97e3823933108cfc648bb08d5ad36251b6588164.zip |
btrfs: introduce a bitmap based csum range search function
Although we have an existing function, btrfs_lookup_csums_range(), to
find all data checksums for a range, it's based on a btrfs_ordered_sum
list.
For the incoming RAID56 data checksum verification at RMW time, we don't
want to waste time by allocating temporary memory.
So this patch will introduce a new helper, btrfs_lookup_csums_bitmap().
It will use bitmap based result, which will be a perfect fit for later
RAID56 usage.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions