aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2017-02-09 11:46:18 -0500
committerMike Snitzer <snitzer@redhat.com>2017-02-16 12:57:10 -0500
commitca763d0a53b264a650342cee206512bc92ac7050 (patch)
tree7582bbeb5ea5e125756f3cbc1269501620cf4ba5 /tools/perf/scripts/python/check-perf-trace.py
parent105db5991240cb2675f193589130ef0c8a4f70fe (diff)
dm cache: fix corruption seen when using cache > 2TB
A rounding bug due to compiler generated temporary being 32bit was found in remap_to_cache(). A localized cast in remap_to_cache() fixes the corruption but this preferred fix (changing from uint32_t to sector_t) eliminates potential for future rounding errors elsewhere. Cc: stable@vger.kernel.org Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions