Thread (66 messages) 66 messages, 9 authors, 2021-09-02

Re: [PATCH v3 12/18] scsi: ufs: Optimize serialization of setup_xfer_req() calls

From: Bean Huo <hidden>
Date: 2021-07-29 08:07:41

On Wed, 2021-07-21 at 20:34 -0700, Bart Van Assche wrote:
-       ufshcd_vops_setup_xfer_req(hba, task_tag, (lrbp->cmd ? true :
false));

        ufshcd_add_command_trace(hba, task_tag, UFS_CMD_SEND);

        ufshcd_clk_scaling_start_busy(hba);

        if (unlikely(ufshcd_should_inform_monitor(hba, lrbp)))

                ufshcd_start_monitor(hba, lrbp);

        spin_lock_irqsave(hba->host->host_lock, flags);

+       if (hba->vops && hba->vops->setup_xfer_req)

+               hba->vops->setup_xfer_req(hba, task_tag, !!lrbp->
Nice!

Reviewed-by: Bean Huo <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help