diff options
| author | Christoph Hellwig <[email protected]> | 2018-09-20 08:28:21 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-09-20 09:11:40 -0600 |
| commit | 576ed9135489c723fb39b97c4e2c73428d06dd78 (patch) | |
| tree | 5613ccf17664796b77fe3461c2d2f3c76407a1ab /tools/perf/scripts/python | |
| parent | c8765de0adfcaaf4ffb2d951e07444f00ffa9453 (diff) | |
block: use bio_add_page in bio_iov_iter_get_pages
Replace a nasty hack with a different nasty hack to prepare for multipage
bio_vecs. By moving the temporary page array as far up as possible in
the space allocated for the bio_vec array we can iterate forward over it
and thus use bio_add_page. Using bio_add_page means we'll be able to
merge physically contiguous pages once support for multipath bio_vecs is
merged.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions