aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authortang.junhui <[email protected]>2017-10-30 14:46:34 -0700
committerJens Axboe <[email protected]>2017-10-30 15:57:54 -0600
commitc157313791a999646901b3e3c6888514ebc36d62 (patch)
tree8b5fef73f04ef261fcc6761950795ebd3db9cc5c /tools/perf/scripts/python/export-to-sqlite.py
parentd44c2f9e7cc0041f0cd88df1fe7a1fceb713ab14 (diff)
bcache: fix wrong cache_misses statistics
Currently, Cache missed IOs are identified by s->cache_miss, but actually, there are many situations that missed IOs are not assigned a value for s->cache_miss in cached_dev_cache_miss(), for example, a bypassed IO (s->iop.bypass = 1), or the cache_bio allocate failed. In these situations, it will go to out_put or out_submit, and s->cache_miss is null, which leads bch_mark_cache_accounting() to treat this IO as a hit IO. [ML: applied by 3-way merge] Signed-off-by: tang.junhui <[email protected]> Reviewed-by: Michael Lyle <[email protected]> Reviewed-by: Coly Li <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions