diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-03 10:33:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-05 01:27:35 +0300 |
commit | 6aeb4f836480617be472de767c4cb09c1060a067 (patch) | |
tree | 3c8f7a90d542898614b1fbaa7b6f407045166e7c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c2398e6d5f16e15598d3a37e17107fea477e3f91 (diff) | |
download | linux-6aeb4f836480617be472de767c4cb09c1060a067.tar.xz |
block: remove bio_add_pc_page
Lift bio_split_rw_at into blk_rq_append_bio so that it validates the
hardware limits. With this all passthrough callers can simply add
bio_add_page to build the bio and delay checking for exceeding of limits
to this point instead of doing it for each page.
While this looks like adding a new expensive loop over all bio_vecs,
blk_rq_append_bio is already doing that just to counter the number of
segments.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Link: https://lore.kernel.org/r/20250103073417.459715-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions