RE: [PATCH 0/2] : definion, code, and use of new SCSI ML hoststatus DID_COND_REQUEUE

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

 



On Fri, 2007-02-02 at 17:31 -0700, Qi, Yanling wrote:
>  [Qi, Yanling] The following code in the scsi_lib.c will be enough for
> RDAC/MPP. BTW, why do we do "wait_for = (cmd->allowed + 1) *
> cmd->timeout_per_command". With a sd request, the wait_for will be 180
> seconds. (SD_MAX_RETRIES=5 and SD_TIMEOUT=30 * HZ).

Because that's the maximum guarantee.  If the command repeatedly timed
out, we'd retry it cmd->allowed times, so the max timeout is 

cmd->timeout_per_command*cmd->allowed

Shorter timeout periods can be set via sysfs.

James


-
To unsubscribe from this list: 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