[SCSI] update max sdev block limit
Updated patch to address comments from Pat Mansfield and Michael Reed: Bumped max to 600 (10mins). Set default dev_loss_tmo to a value other than the max (30s). Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
a0785edff7
commit
1c9e16e47a
@@ -117,7 +117,7 @@ extern struct bus_type scsi_bus_type;
|
||||
* classes.
|
||||
*/
|
||||
|
||||
#define SCSI_DEVICE_BLOCK_MAX_TIMEOUT (HZ*60)
|
||||
#define SCSI_DEVICE_BLOCK_MAX_TIMEOUT 600 /* units in seconds */
|
||||
extern int scsi_internal_device_block(struct scsi_device *sdev);
|
||||
extern int scsi_internal_device_unblock(struct scsi_device *sdev);
|
||||
|
||||
|
Reference in New Issue
Block a user