diff options
author | David Sterba <[email protected]> | 2020-04-30 17:57:55 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-05-25 11:25:34 +0200 |
commit | f4ca8c51d12631f1297d093f767c3a5ce5b95aff (patch) | |
tree | 6b46d01bde3761b1c903f95b1af9b49a2c95ac9b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ba8a9a0537770df69d9dc38c11312c9b0f840cf2 (diff) |
btrfs: optimize split page write in btrfs_set_##bits
The helper write_extent_buffer is called to do write of the data
spanning two extent buffer pages. As the size is known, we can do the
write directly in two steps. This removes one function call and
compiler can optimize memcpy as the sizes are known at compile time.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions