On 6/24/24 2:56 AM, Ziqi Chen wrote:
1. Why do we need to call blk_mq_quiesce_tagset() into ufshcd_scsi_block_requests() instead directly replace all ufshcd_scsi_block_requests() with blk_mq_quiesce_tagset()?
Because ufshcd_scsi_block_requests() has more callers than the clock scaling code and because all callers of ufshcd_scsi_block_requests() should be fixed.
2. This patch need to to do long-term stress test, I think many OEMs can't wait as it is a blocker issue for them.
Patch "scsi: ufs: core: Quiesce request queues before checking pending cmds" is already in Linus' master branch. I will rebase my patch on top of linux-next. Best regards, Bart.