diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-07-12 19:35:42 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-13 05:01:16 +0200 |
commit | 75aa3209c945fc711163ff1ecbc031bd13962a9d (patch) | |
tree | 35f64373c9f0fa0843f7f5cb88d1c33e10edeb77 /Makefile | |
parent | scsi: snic: fix printing time intervals (diff) | |
download | linux-75aa3209c945fc711163ff1ecbc031bd13962a9d.tar.xz linux-75aa3209c945fc711163ff1ecbc031bd13962a9d.zip |
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 'Makefile')
0 files changed, 0 insertions, 0 deletions