diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-05-03 17:24:33 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:28 +0200 |
| commit | b51e6b4bda5bddbd002ace239eb5eadd4d729039 (patch) | |
| tree | ce29cb39e8de17900d3685c1889284d80d264207 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | btrfs: move page locking from lock_extent_buffer_for_io to write_one_eb (diff) | |
| download | linux-b51e6b4bda5bddbd002ace239eb5eadd4d729039.tar.gz linux-b51e6b4bda5bddbd002ace239eb5eadd4d729039.zip | |
btrfs: don't use btrfs_bio_ctrl for extent buffer writing
The btrfs_bio_ctrl machinery is overkill for writing extent_buffers
as we always operate on PAGE_SIZE chunks (or one smaller one for the
subpage case) that are contiguous and are guaranteed to fit into a
single bio. Replace it with open coded btrfs_bio_alloc, __bio_add_page
and btrfs_submit_bio calls.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
