aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDouglas Gilbert <[email protected]>2018-04-10 13:00:36 -0400
committerMartin K. Petersen <[email protected]>2018-04-18 22:58:49 -0400
commit4f2c8bf6bdff306e8f918fa4bacf636c6b9ef760 (patch)
tree8e1b14d2246f6a8acd6875a69764410384ffeae9 /lib/memory-notifier-error-inject.c
parentaf17092810a887178195276255b7b31f8fbe7dbe (diff)
scsi: scsi_debug: IMMED related delay adjustments
A patch titled: "[PATCH v2] scsi_debug: implement IMMED bit" introduced long delays to the Start stop unit (SSU) and Synchronize cache (SC) commands when the IMMED bit is clear. This patch makes those delays more realistic. It causes SSU to only delay when the start stop state is changed; SC only delays when there's been a write since the previous SC. It also reduced the SC delay from 1 second to 50 milliseconds. Signed-off-by: Douglas Gilbert <[email protected]> Tested-by: Ming Lei <[email protected]> Reported-by: Ming Lei <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions