diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-07-12 20:35:42 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-13 06:01:16 +0300 |
commit | 75aa3209c945fc711163ff1ecbc031bd13962a9d (patch) | |
tree | 35f64373c9f0fa0843f7f5cb88d1c33e10edeb77 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 920447f138917d8d5b830b752cff5e5f747f67e8 (diff) | |
download | linux-75aa3209c945fc711163ff1ecbc031bd13962a9d.tar.xz |
scsi: scsi_debug: skip long delays when ndelay small
A test program's runtime became impractically long since any non zero
ndelay (e.g. 1 nanosec) caused Start Stop Unit to delay over 8 magnitudes
greater than other commands. This patch skips long delays (on Start Stop
Unit and Synchronize Cache) if ndelay is less than or equal to 10
microsecs.
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions