diff options
author | 2023-07-15 19:08:30 +0800 | |
---|---|---|
committer | 2023-08-21 14:52:17 +0200 | |
commit | 730c374e5b2cec061e3af7616b9d1265e60b6c0a (patch) | |
tree | fe269261d8986a70d0458624e6c2c37f8ee74ae9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: refactor extent buffer bitmaps operations (diff) | |
download | wireguard-linux-730c374e5b2cec061e3af7616b9d1265e60b6c0a.tar.xz wireguard-linux-730c374e5b2cec061e3af7616b9d1265e60b6c0a.zip |
btrfs: use write_extent_buffer() to implement write_extent_buffer_*id()
Helpers write_extent_buffer_chunk_tree_uuid() and
write_extent_buffer_fsid(), they can be implemented by
write_extent_buffer().
These two helpers are not that frequently used, they only get called
during initialization of a new tree block. There is not much need for
those slightly optimized versions. And since they can be easily
converted to one write_extent_buffer() call, define them as inline
helpers.
This would make later page/folio switch much easier, as all change only
need to happen in write_extent_buffer().
Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@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