diff options
author | 2017-03-16 09:46:14 -0600 | |
---|---|---|
committer | 2017-03-16 09:46:14 -0600 | |
commit | efd4b81abbe1ac753717f2f10cd3dab8bed6c103 (patch) | |
tree | 2bba3ec40209e5ef9db3c083c39a941290cdfcb6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-linus' of git://git.kernel.dk/linux-block (diff) | |
download | linux-rng-efd4b81abbe1ac753717f2f10cd3dab8bed6c103.tar.xz linux-rng-efd4b81abbe1ac753717f2f10cd3dab8bed6c103.zip |
blk-stat: fix blk_stat_sum() if all samples are batched
We need to flush the batch _before_ we check the number of samples,
otherwise we'll miss all of the batched samples.
Fixes: cf43e6b ("block: add scalable completion tracking of requests")
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions