scsi_debug fault-injection question
Hi Doug,
scsi_debug.c says:
MODULE_PARM_DESC(every_nth, "timeout every nth command(def=100)");
I don't see where the default of 100 is set.
#define DEF_EVERY_NTH 0
...
static int scsi_debug_every_nth = DEF_EVERY_NTH;
Can you clarify for me, please?
Thanks.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 6 lines · Randy Dunlap
Hi Doug,
scsi_debug.csays:
MODULE_PARM_DESC(every_nth, "timeout every nth command(def=100)");
Quoted 8 lines
I don't see where the default of 100 is set.
#define
DEF_EVERY_NTH0
...
static intscsi_debug_every_nth=DEF_EVERY_NTH;Can you clarify for me, please?
Randy,
s/100/0/
The string in MODULE_PARM_DESC is wrong. The support web page, http://www.torque.net/sg/sdebug26.html
is accurate stating the default is 0 and notes:
"for error injection: 0 -> off".
Doug Gilbert