Re: [PATCH 2/2] scsi_debug: reset injection flags for every_nth > 0

2018-02-13 Thread Martin K. Petersen
Martin, > If every_nth > 0, the injection flags must be reset for commands > that aren't supposed to fail (i.e. that aren't "nth"). Otherwise, > commands will continue to fail, like in the every_nth < 0 case. Applied to 4.17/scsi-queue. Please rebase patch 1/2. Thanks! -- Martin K. Petersen

[PATCH 2/2] scsi_debug: reset injection flags for every_nth > 0

2018-02-05 Thread Martin Wilck
If every_nth > 0, the injection flags must be reset for commands that aren't supposed to fail (i.e. that aren't "nth"). Otherwise, commands will continue to fail, like in the every_nth < 0 case. Signed-off-by: Martin Wilck --- drivers/scsi/scsi_debug.c | 7 ++- 1 file

[PATCH 2/2] scsi_debug: reset injection flags for every_nth > 0

2018-01-29 Thread Martin Wilck
If every_nth > 0, the injection flags must be reset for commands that aren't supposed to fail (i.e. that aren't "nth"). Otherwise, commands will continue to fail, like in the every_nth < 0 case. Signed-off-by: Martin Wilck --- drivers/scsi/scsi_debug.c | 7 ++- 1 file