diff options
| author | SEO HOYOUNG <[email protected]> | 2024-04-11 07:14:44 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-04-12 01:54:22 +0000 |
| commit | 13c28be58c2bdb12e554e01b0e35621060068b11 (patch) | |
| tree | abe535a28e4bd35e93a87717a140573715aa94db /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | scsi: ufs: Remove support for old UFSHCI versions (diff) | |
| download | kernel-13c28be58c2bdb12e554e01b0e35621060068b11.tar.gz kernel-13c28be58c2bdb12e554e01b0e35621060068b11.zip | |
scsi: ufs: core: Changing the status to check inflight
ufshcd_cmd_inflight() is used to check whether or not a command is in
progress. Make it skip commands that have already completed by changing
the !blk_mq_request_started(rq) check into blk_mq_rq_state(rq) !=
MQ_RQ_IN_FLIGHT. We cannot rely on lrbp->cmd since lrbp->cmd is not
cleared when a command completes.
Link: https://lore.kernel.org/linux-scsi/[email protected]/
Signed-off-by: SEO HOYOUNG <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
