Skip to content
Snippets Groups Projects
Commit 79ea464b authored by chrfranke's avatar chrfranke
Browse files

Increase SCSI_TIMEOUT_DEFAULT from 6 to 20 seconds to avoid

timeouts when a disk spins up from standby mode.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2924 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 1ccb38e5
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file. ...@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[CF] Increase SCSI_TIMEOUT_DEFAULT from 6 to 20 seconds to avoid
timeouts when a disk spins up from standby mode.
[CF] Add USB ID of AcomData 504 (OnSpec USB bridge). [CF] Add USB ID of AcomData 504 (OnSpec USB bridge).
[AS] Correcting manual pages (FreeBSD related) [AS] Correcting manual pages (FreeBSD related)
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#ifndef SCSICMDS_H_ #ifndef SCSICMDS_H_
#define SCSICMDS_H_ #define SCSICMDS_H_
#define SCSICMDS_H_CVSID "$Id: scsicmds.h,v 1.69 2009/06/24 04:10:10 dpgilbert Exp $\n" #define SCSICMDS_H_CVSID "$Id$\n"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -273,7 +273,8 @@ Documentation, see http://www.storage.ibm.com/techsup/hddtech/prodspecs.htm */ ...@@ -273,7 +273,8 @@ Documentation, see http://www.storage.ibm.com/techsup/hddtech/prodspecs.htm */
/* SCSI command timeout values (units are seconds) */ /* SCSI command timeout values (units are seconds) */
#define SCSI_TIMEOUT_DEFAULT 6 /* 6 seconds should be ample */ #define SCSI_TIMEOUT_DEFAULT 20 // should be longer than the spin up time
// of a disk in standby mode.
#define SCSI_TIMEOUT_SELF_TEST (5 * 60 * 60) /* allow max 5 hours for */ #define SCSI_TIMEOUT_SELF_TEST (5 * 60 * 60) /* allow max 5 hours for */
/* extended foreground self test */ /* extended foreground self test */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment