summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-09-21 22:07:14 +0200
committerDavid Sterba <dsterba@suse.com>2021-06-21 15:19:06 +0200
commitdfd29eed4ab5881a1af9f07c3573c0be5593dc1f (patch)
tree80d7b01eac20d8439dd9b96c37777c5f4871d8b2 /tools/perf/scripts/python/export-to-postgresql.py
parentff14aa798756a6b98b6020e51e52168128ffa9d7 (diff)
btrfs: simplify eb checksum verification in btrfs_validate_metadata_buffer
The verification copies the calculated checksum bytes to a temporary buffer but this is not necessary. We can map the eb header on the first page and use the checksum bytes directly. This saves at least one function call and boundary checks so it could lead to a minor performance improvement. Reviewed-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