diff options
author | 2022-04-11 15:03:35 -0700 | |
---|---|---|
committer | 2022-04-13 13:22:16 -0400 | |
commit | ce40426fdc3c92acdba6b5ca74bc7277ffaa6a3d (patch) | |
tree | 5854511d1b2d3cac9dadf05b2a8d4393b5cdf147 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm integrity: fix memory corruption when tag_size is less than digest size (diff) | |
download | linux-dev-ce40426fdc3c92acdba6b5ca74bc7277ffaa6a3d.tar.xz linux-dev-ce40426fdc3c92acdba6b5ca74bc7277ffaa6a3d.zip |
dm mpath: only use ktime_get_ns() in historical selector
Mixing sched_clock() and ktime_get_ns() usage will give bad results.
Switch hst_select_path() from using sched_clock() to ktime_get_ns().
Also rename path_service_time()'s 'sched_now' variable to 'now'.
Fixes: 2613eab11996 ("dm mpath: add Historical Service Time Path Selector")
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions