diff options
| author | Pavel Begunkov <[email protected]> | 2021-01-09 16:03:02 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-01-25 08:58:24 -0700 |
| commit | 3e1a88ec96259282b9a8b45c3f1fda7a3ff4f6ea (patch) | |
| tree | e650e34e08f97cadb1d47e9650ff045006bac9be /tools/perf/scripts/python/bin | |
| parent | 54c8195b4ebe10af66b49ab9c809bc16939555fc (diff) | |
bio: add a helper calculating nr segments to alloc
Add a helper function calculating the number of bvec segments we need to
allocate to construct a bio. It doesn't change anything functionally,
but will be used to not duplicate special cases in the future.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions