RE: [PATCH] scsi: ufs: core: fix devfreq deadlocks

From: Avri Altman
Date: Thu Jan 05 2023 - 02:21:34 EST


> On 1/4/23 06:10, Asutosh Das wrote:
> > Load based toggling of WB seemed fine to me then.
> > I haven't thought about another method to toggle WriteBooster yet.
> > Let me see if I can come up with something.
> > IMT if you have a mechanism in mind, please let me know.
>
> Hi Asutosh,
>
> Which UFS devices need this mechanism? All UFS devices I'm familiar with can
> achieve wire speed for large write requests without enabling the WriteBooster.
This feature assures SLC-performance for writes to the WriteBooster buffer.
So enabling it is advantageous as far as write performance.

As for the toggling functionality, compared to e.g. enabling it on init and leave it on,
some flash vendors require it because of device health considerations.
This is not the case for us, so let others to comment.

Thanks,
Avri
>
> Thanks,
>
> Bart.