aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2021-01-11 11:05:55 +0800
committerJens Axboe <[email protected]>2021-01-24 21:22:45 -0700
commitbaa2c7c97153b8064dbeeb99f2f72de3a75c90a7 (patch)
treed079f69cab689d9fdb48484d8afca20ae7fb88b3 /tools/perf/scripts/python
parent9f180e315a93cde559ac1c9c4c5ce980aa681c1c (diff)
block: set .bi_max_vecs as actual allocated vector number
bvec_alloc() may allocate more bio vectors than requested, so set .bi_max_vecs as actual allocated vector number, instead of the requested number. This way can help fs build bigger bio because new bio often won't be allocated until the current one becomes full. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Pavel Begunkov <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions