[PATCH] dpt_i2o.c set array timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adds in the array timeout adjustment removed by the '[PATCH] remove
scsi_cmnd.eh_state' authored by Christoph Helwig. There are no issues
with the sequence of the application of these patches.

Signed-off-by: Mark Salyzyn aacraid@xxxxxxxxxxx

Index: linux-2.6/drivers/scsi/dpt_i2o.c
--- linux-2.6.orig/drivers/scsi/dpt_i2o.c    Fri Jun 17 11:41:10 2005
+++ linux-2.6/drivers/scsi/dpt_i2o.c    Mon Jun 20 08:59:35 2005
@@ -376,6 +376,8 @@
        } else {
                scsi_adjust_queue_depth(device, 0, 1);
        }
+       if (device->type == TYPE_DISK)
+               device->timeout = TMOUT_SCSI * HZ;
        return 0;
 }

Sincerely -- Mark Salyzyn
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux