diff options
author | 2015-10-22 09:27:12 +0900 | |
---|---|---|
committer | 2015-10-27 15:04:56 +0900 | |
commit | 174fd8d369613c4e06660f3704caaba48dac8554 (patch) | |
tree | 7b510befe24f781d0d00561ce61b3c41cbf7d29f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'iommu-fixes-v4.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu (diff) | |
download | linux-dev-174fd8d369613c4e06660f3704caaba48dac8554.tar.xz linux-dev-174fd8d369613c4e06660f3704caaba48dac8554.zip |
blkcg: fix incorrect read/write sync/async stat accounting
While unifying how blkcg stats are collected, 77ea733884eb ("blkcg:
move io_service_bytes and io_serviced stats into blkcg_gq")
incorrectly used bio->flags instead of bio->rw to tell the IO type.
This made IOs to be accounted as the wrong type. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 77ea733884eb ("blkcg: move io_service_bytes and io_serviced stats into blkcg_gq")
Reviewed-by: Jeff Moyer <jmoyer@redhat.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