diff options
author | Christoph Hellwig <hch@lst.de> | 2025-05-07 14:04:27 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-07 07:31:07 -0600 |
commit | 75f88659e47dc570bdebddf77d7a3cd5f0845612 (patch) | |
tree | 9e0f8d29a9eb10b03d183e80affc9a257f77cf59 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 10b1e59cdadabff16fc78eb2ca4c341b1502293c (diff) |
block: add a bio_add_max_vecs helper
Add a helper to check how many bio_vecs are needed to add a kernel
virtual address range to a bio, accounting for the always contiguous
direct mapping and vmalloc mappings that usually need a bio_vec
per page sized chunk.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250507120451.4000627-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions