Files
linux/drivers
Manish Pandey 7fa70ede91 UPSTREAM: 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/20230517223157.1068210-3-bvanassche@acm.org/
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
Link: https://lore.kernel.org/r/20240411071444.51873-1-hy50.seo@samsung.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

Bug: 353887042
(cherry picked from commit 13c28be58c2bdb12e554e01b0e35621060068b11)
Change-Id: I038c3956c55967f38a339a13c16fe7518ee4eb17
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-07-26 18:44:19 +00:00
..
2024-06-18 18:19:35 +00:00
2024-06-03 08:51:30 +00:00
2024-05-15 12:13:59 +00:00
2024-06-19 06:26:38 +00:00
2024-06-19 06:26:38 +00:00
2024-04-16 15:01:11 +00:00
2024-06-21 08:37:53 +00:00
2024-06-21 08:37:53 +00:00
2024-05-16 17:29:02 +00:00
2024-06-18 14:42:05 +00:00
2024-06-03 08:51:30 +00:00
2024-06-18 18:19:35 +00:00
2024-05-15 12:13:59 +00:00
2024-06-19 06:26:38 +00:00
2024-06-18 14:42:05 +00:00
2024-06-19 06:26:38 +00:00
2024-06-21 08:37:53 +00:00
2024-02-05 20:12:47 +00:00
2024-05-02 11:36:38 +00:00
2024-04-03 15:19:45 +02:00
2024-06-18 18:19:35 +00:00
2024-05-15 12:13:59 +00:00
2024-05-15 12:13:59 +00:00
2024-05-16 17:29:02 +00:00
2024-06-18 18:19:35 +00:00
2024-06-21 08:37:53 +00:00
2024-05-02 11:36:38 +00:00