scsi command timeout_per_command and scsi device timeout

From: Anil kumar
Date: Tue Jan 20 2009 - 20:14:03 EST


Hi,

What is the relation between scsi_cmd->timeout_per_command and scsi_device->timeout?
I set a timeout value for scsi_device->timeout in slave_configure, but I don't see this value being taken by scsi_cmd->timeout_per_command.

If they are not related, then how can I set command timeout for all commands to my driver to avoid command timeouts.

with regards,
Anil



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/