diff options
author | John Garry <john.g.garry@oracle.com> | 2024-12-02 16:00:45 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-12-04 21:22:59 +0300 |
commit | 6918141d815acef056a0d10e966a027d869a922d (patch) | |
tree | a3401b6665fcb3374c5255a5f3bacc5586161e46 /tools/perf/scripts/python/syscall-counts.py | |
parent | b1aee7f034615b6824d2c70ddb37ef9fc23493b7 (diff) | |
download | linux-6918141d815acef056a0d10e966a027d869a922d.tar.xz |
scsi: scsi_debug: Fix hrtimer support for ndelay
Since commit 771f712ba5b0 ("scsi: scsi_debug: Fix cmd duration
calculation"), ns_from_boot value is only evaluated in schedule_resp()
for polled requests.
However, ns_from_boot is also required for hrtimer support for when
ndelay is less than INCLUSIVE_TIMING_MAX_NS, so fix up the logic to
decide when to evaluate ns_from_boot.
Fixes: 771f712ba5b0 ("scsi: scsi_debug: Fix cmd duration calculation")
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20241202130045.2335194-1-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions