Re: [PATCH v2 18/20] scsi: ufs: Optimize the command queueing code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/22/21 9:46 AM, Asutosh Das (asd) wrote:
On 11/19/2021 11:57 AM, Bart Van Assche wrote:
+    blk_freeze_queue_start(hba->tmf_queue);
+    blk_freeze_queue_start(hba->cmd_queue);
+    shost_for_each_device(sdev, hba->host)
+        blk_freeze_queue_start(sdev->request_queue);

This would still issue the requests present in the queue before freezing and that's a concern.

Isn't that exactly what the existing code is doing since the existing code waits until both doorbell registers are zero? See also ufshcd_wait_for_doorbell_clr().

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux