aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-06-06 12:29:02 +0200
committerJens Axboe <[email protected]>2019-06-20 10:29:22 -0600
commite9cd19c0c198aa1c893e142b015fde6da862ed52 (patch)
tree323cfe08f79300ebe2fa72105e4c7f4d6d1c17d5 /tools/perf/scripts/python/bin
parent14ccb66b3f585b2bc21e7256c96090abed5a512c (diff)
block: simplify blk_recalc_rq_segments
Return the segement and let the callers assign them, which makes the code a littler more obvious. Also pass the request instead of q plus bio chain, allowing for the use of rq_for_each_bvec. Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions