diff options
author | Pankaj Gupta <pankaj.gupta@cloud.ionos.com> | 2020-11-11 06:16:58 +0100 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-11-30 10:12:35 -0800 |
commit | a23f2aae8498d8c8bb6ff5301bda02db8093cb09 (patch) | |
tree | 77978801460450f726e0bf454474d653c8a330f3 /drivers/nvme | |
parent | 204d1a6434158ac655fc4037f29742b9b6103f0e (diff) |
md: use current request time as base for ktime comparisons
Request coalescing logic uses 'prev_flush_start' as base to
compare the current request start time. 'prev_flush_start' is
updated in other context.
This patch changes this by using ktime comparison base to
'req_start' for better readability of code.
Signed-off-by: Pankaj Gupta <pankaj.gupta@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions