diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-10-22 12:31:00 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-10-25 15:01:10 -0400 |
commit | b5d9da58a05172ec08301e06932338ade6d55f82 (patch) | |
tree | 3515b02f1ed5526af1971a03eed3fdd536d31137 /tools/perf/scripts/python/task-analyzer.py | |
parent | 9a5f6c09d0fa5a7b2139a745368e0ef77dece34b (diff) | |
download | linux-b5d9da58a05172ec08301e06932338ade6d55f82.tar.gz linux-b5d9da58a05172ec08301e06932338ade6d55f82.tar.bz2 linux-b5d9da58a05172ec08301e06932338ade6d55f82.zip |
scsi: ufs: core: Simplify ufshcd_exception_event_handler()
The ufshcd_scsi_block_requests() and ufshcd_scsi_unblock_requests()
calls were introduced in ufshcd_exception_event_handler() to prevent
that querying the exception event information would time out. Commit
10fe5888a40e ("scsi: ufs: increase the scsi query response timeout")
increased the timeout for querying exception information from 30 ms to
1.5 s and thereby eliminated the risk that a timeout would happen.
Hence, the calls to block and unblock SCSI requests are superfluous.
Remove these calls.
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Tested-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241022193130.2733293-5-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions