diff options
| author | Bart Van Assche <[email protected]> | 2019-12-09 10:13:08 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-12-19 22:08:51 -0500 |
| commit | 7252a3603015f1fd04363956f4b72a537c9f9c42 (patch) | |
| tree | 8d021ec4d454f0ac237ca451ff26b1f3d9aedc16 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | bd40726153c646ed28f830e22a27f5e831b77017 (diff) | |
scsi: ufs: Avoid busy-waiting by eliminating tag conflicts
Instead of tracking which tags are in use in the ufs_hba.lrb_in_use
bitmask, rely on the block layer tag allocation mechanism. This patch
removes the following busy-waiting loop if ufshcd_issue_devman_upiu_cmd()
and the block layer accidentally allocate the same tag for a SCSI request:
* ufshcd_queuecommand() returns SCSI_MLQUEUE_HOST_BUSY.
* The SCSI core requeues the SCSI command.
Cc: Can Guo <[email protected]>
Cc: Stanley Chu <[email protected]>
Cc: Avri Altman <[email protected]>
Cc: Tomas Winkler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Bean Huo <[email protected]>
Reviewed-by: Avri Altman <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions