Ticket #917: patch-scsicmds.h

File patch-scsicmds.h, 562 bytes (added by asomers, 3 years ago)

Increase default timeout from 20s to 60s

Line 
1--- scsicmds.h.orig     2017-10-18 22:25:44 UTC
2+++ scsicmds.h
3@@ -304,7 +304,7 @@ Documentation, see http://www.storage.ib
4 
5 
6 /* SCSI command timeout values (units are seconds) */
7-#define SCSI_TIMEOUT_DEFAULT    20  // should be longer than the spin up time
8+#define SCSI_TIMEOUT_DEFAULT    60  // should be longer than the spin up time
9                                     // of a disk in standby mode.
10 #define SCSI_TIMEOUT_SELF_TEST  (5 * 60 * 60)   /* allow max 5 hours for */
11                                             /* extended foreground self test */