Re: [PATCH] remove scsi_cmnd.eh_state

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

 



On 06/20/05 08:35, Christoph Hellwig wrote:
> On Mon, Jun 20, 2005 at 08:28:50AM -0400, Salyzyn, Mark wrote:
> 
>>If the code is not in place, then array devices will go offline.
>>
>>The array needs to have a 5 minute timeout, all other devices can
>>timeout as per the SCSI subsystem.
> 
> 
> The proper API to do that is to set scsi_device.timeout in
> ->slave_configure.

One can also use the

enum scsi_eh_timer_return (* eh_timed_out)(struct scsi_cmnd *);

interface in the scsi_host_template. (If say dynamic
decision is to be made: array or hdd or another kind of device.)

	Luben
-
: 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