diff options
author | Vasu Dev <[email protected]> | 2011-04-01 16:06:40 -0700 |
---|---|---|
committer | James Bottomley <[email protected]> | 2011-05-01 10:20:56 -0500 |
commit | f2817ec2e0faece03959888050730ed35e5f2bd2 (patch) | |
tree | 05628b7801247236141d2edbfd21975f31631184 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 66a5b3acba563b53cfbca96c7fff2207c94a87e2 (diff) |
[SCSI] libfc: rec tov value and REC_TOV_CONST units usages is incorrect
Added REC_TOV_CONST intent was to have rec tov as e_d_tov + 1s
but currently it is e_d_tov + 1ms since e_d_tov is stored in ms
unit.
Also returned rec tov by get_fsp_rec_tov is in ms and this ms tov
is used as-is with fc_fcp_timer_set expecting jiffies tov.
Fixed this by having get_fsp_rec_tov return rec tov in jiffies
as e_d_tov + 1s and then use jiffies tov w/ fc_fcp_timer_set.
Also some cleanup, no need to cache get_fsp_rec_tov return value
in local rec_tov at various places.
Signed-off-by: Vasu Dev <[email protected]>
Tested-by: Ross Brattain <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions