RE: [PATCH 01/21] Fix the documentation of the scsi_execute() time parameter

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

 



> The unit of the scsi_execute() timeout parameter is 1/HZ seconds instead of
> one second, just like the timeouts used in the block layer. Fix the
> documentation header above the definition of the scsi_execute() macro.
> 
> Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxx>
> Cc: Hannes Reinecke <hare@xxxxxxx>
> Cc: Ming Lei <ming.lei@xxxxxxxxxx>
> Cc: John Garry <john.garry@xxxxxxxxxx>
> Fixes: "[SCSI] use scatter lists for all block pc requests and simplify hw
> handlers" # v2.6.16.28
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>

> ---
>  drivers/scsi/scsi_lib.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
> index 7184f93dfe15..4b56e06faa5e 100644
> --- a/drivers/scsi/scsi_lib.c
> +++ b/drivers/scsi/scsi_lib.c
> @@ -194,7 +194,7 @@ void scsi_queue_insert(struct scsi_cmnd *cmd, int
> reason)
>   * @bufflen:   len of buffer
>   * @sense:     optional sense buffer
>   * @sshdr:     optional decoded sense header
> - * @timeout:   request timeout in seconds
> + * @timeout:   request timeout in HZ
>   * @retries:   number of times to retry request
>   * @flags:     flags for ->cmd_flags
>   * @rq_flags:  flags for ->rq_flags




[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