diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-01-11 00:57:31 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-17 09:00:05 +0300 |
commit | 10bde980ac18da7859591f3a30ddac881f83a2cf (patch) | |
tree | e799b486574ce176b7238012543d1d30d6b59fd7 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | dbc1ebe7b0fd43f7d74ba0e87b411eb48c9fdeb2 (diff) | |
download | linux-10bde980ac18da7859591f3a30ddac881f83a2cf.tar.xz |
scsi: scsi_debug: delay stress fix
Introduce a state enum into sdebug_defer objects to indicate which, if
any, defer method has been used with the associated command. Also add 2
bools to indicate which of the defer methods has been initialized. Those
objects are re-used but the initialization only needs to be done
once. This simplifies command cancellation handling.
Now the delay associated with a deferred response of a command cannot be
changed (once started) by changing the delay (and ndelay) parameters in
sysfs. Command aborts and driver shutdown are still honoured immediately
when received.
[mkp: applied by hand]
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.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