summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
authorJames Smart2006-05-16 22:13:36 +0200
committerJames Bottomley2006-06-27 17:53:55 +0200
commit1c9e16e47a22c61d99aabb1c154e5106ddbf3575 (patch)
tree174f537f7048f0eec7c1591dc17b440312c091a9 /drivers/scsi/scsi_priv.h
parent[SCSI] fc transport: resolve scan vs delete deadlocks (diff)
downloadkernel-qcow2-linux-1c9e16e47a22c61d99aabb1c154e5106ddbf3575.tar.gz
kernel-qcow2-linux-1c9e16e47a22c61d99aabb1c154e5106ddbf3575.tar.xz
kernel-qcow2-linux-1c9e16e47a22c61d99aabb1c154e5106ddbf3575.zip
[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>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r--drivers/scsi/scsi_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index a1727a0e1bdd..117c2336f333 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -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);