linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* scsi_debug fault-injection question
@ 2007-06-11 16:42 Randy Dunlap
  2007-06-11 18:26 ` Douglas Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2007-06-11 16:42 UTC (permalink / raw)
  To: scsi; +Cc: dgilbert

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 ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: scsi_debug fault-injection question
  2007-06-11 16:42 scsi_debug fault-injection question Randy Dunlap
@ 2007-06-11 18:26 ` Douglas Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Douglas Gilbert @ 2007-06-11 18:26 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: scsi, dgilbert

Randy Dunlap wrote:
> 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?

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-11 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11 16:42 scsi_debug fault-injection question Randy Dunlap
2007-06-11 18:26 ` Douglas Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).