Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76972
b: refs/heads/master
c: d1a357f
h: refs/heads/master
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed Jan 12, 2008
1 parent 241480c commit 816f12d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f37a7238d379bc2befbcb08a03de03f4f446131c
refs/heads/master: d1a357fcc8348d325d151f6fe0ea54e317652457
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/ibmvscsi/ibmvscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1386,8 +1386,10 @@ static int ibmvscsi_slave_configure(struct scsi_device *sdev)
unsigned long lock_flags = 0;

spin_lock_irqsave(shost->host_lock, lock_flags);
if (sdev->type == TYPE_DISK)
if (sdev->type == TYPE_DISK) {
sdev->allow_restart = 1;
sdev->timeout = 60 * HZ;
}
scsi_adjust_queue_depth(sdev, 0, shost->cmd_per_lun);
spin_unlock_irqrestore(shost->host_lock, lock_flags);
return 0;
Expand Down

0 comments on commit 816f12d

Please sign in to comment.