summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKhazhismel Kumykov <khazhy@google.com>2022-04-12 01:03:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 10:34:13 +0300
commit5fda973f0eceb71d14fa1fab22027bca9418229f (patch)
tree7cec25e870a0197221dedb501ed82e383e4826af /include
parent9901b07ba42b39266b34a888e48d7306fd707bee (diff)
downloadlinux-5fda973f0eceb71d14fa1fab22027bca9418229f.tar.xz
dm mpath: only use ktime_get_ns() in historical selector
[ Upstream commit ce40426fdc3c92acdba6b5ca74bc7277ffaa6a3d ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions