Re: [PATCH] scsi: ufs: core: quiesce request queues before check pending cmds

From: Bart Van Assche
Date: Tue Jun 11 2024 - 09:54:51 EST


On 6/7/24 03:06, Ziqi Chen wrote:
Fix this race condition by quiescing the request queues before calling
ufshcd_pending_cmds() so that block layer won't touch the budget map
when ufshcd_pending_cmds() is working on it. In addition, remove the
scsi layer blocking/unblocking to reduce redundancies and latencies.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>