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