1
0
Fork 0

[SCSI] zfcp: Fix timer initialization for ct and els requests

Add HZ since the start_timer function expects jiffies, not seconds.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
hifive-unleashed-5.1
Christof Schmitt 2009-10-13 10:44:10 +02:00 committed by James Bottomley
parent 10d00f78e6
commit 9d38500de1
1 changed files with 1 additions and 1 deletions

View File

@ -1079,7 +1079,7 @@ static int zfcp_fsf_setup_ct_els(struct zfcp_fsf_req *req,
/* common settings for ct/gs and els requests */
req->qtcb->bottom.support.service_class = FSF_CLASS_3;
req->qtcb->bottom.support.timeout = 2 * R_A_TOV;
zfcp_fsf_start_timer(req, 2 * R_A_TOV + 10);
zfcp_fsf_start_timer(req, (2 * R_A_TOV + 10) * HZ);
return 0;
}