diff options
| author | Chunguang Xu <[email protected]> | 2021-11-10 09:23:32 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-11-18 22:26:58 -0500 |
| commit | adcc796b4f55c18ee5fca8190a592c84cf8682e0 (patch) | |
| tree | c73e05b34e43a44119ec034102b89c371b6646ca /tools/perf/scripts/python/libxed.py | |
| parent | 0a84486d6c1da1c2738544d8fc1b07b1d3ce046f (diff) | |
scsi: core: Use eh_timeout for START STOP UNIT
In some scenarios START STOP UNIT may time out. The default recovery
time of 30 seconds is relatively large. Modifying rq_timeout to adjust
the START STOP UNIT timeout value will affect the regular I/O.
Commit 9728c0814ecb ("[SCSI] make scsi_eh_try_stu use block timeout")
switched to rq_timeout for the START STOP UNIT command. However commit
0816c9251a71 ("[SCSI] Allow error handling timeout to be specified")
introduced an explicit eh_timeout parameter. It makes more sense to
use this value as the timeout for START STOP UNIT.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Wu Bo <[email protected]>
Signed-off-by: Chunguang Xu <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions