aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-05-03 17:24:26 +0200
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:27 +0200
commitb78b98e06fb7f9860da5a7c28e1edbaefc2f7be1 (patch)
tree4e4e678d94b1407230a34ca32e5be77575acbd30 /tools/perf/scripts/python/net_dropmonitor.py
parentbtrfs: always read the entire extent_buffer (diff)
downloadlinux-b78b98e06fb7f9860da5a7c28e1edbaefc2f7be1.tar.gz
linux-b78b98e06fb7f9860da5a7c28e1edbaefc2f7be1.zip
btrfs: don't use btrfs_bio_ctrl for extent buffer reading
The btrfs_bio_ctrl machinery is overkill for reading 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 in a helper function shared between the subpage and node size >= PAGE_SIZE cases. 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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions