diff options
| author | Christoph Hellwig <[email protected]> | 2019-04-11 08:23:27 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-04-12 09:06:36 -0600 |
| commit | 8a96a0e408102fb7aa73d8aa0b5e2219cfd51e55 (patch) | |
| tree | a62d8c0f583ee464e40b5a41fae7cd4b891b7f31 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 22391ac30ab9cc2ba610bf7ea2244840b83c8017 (diff) | |
block: rewrite blk_bvec_map_sg to avoid a nth_page call
The offset in scatterlists is allowed to be larger than the page size,
so don't go to great length to avoid that case and simplify the
arithmetics.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions