Messages in this thread | | | From | Avri Altman <> | Subject | RE: [PATCH 4/8] scsi: ufshpb: Make eviction depends on region's reads | Date | Mon, 1 Feb 2021 07:14:02 +0000 |
| |
> > > Hi Avri, > > > + /* > > + * in host control mode, verify that the exiting region > > + * has less reads > > + */ > > + if (ufshpb_mode == HPB_HOST_CONTROL && > > + atomic64_read(&rgn->reads) > (EVICTION_THRSHLD >> 1)) > Why we use shifted value to verify less read? I think we should use another > value to verify. Yes. Will make every logic parameters configurable.
| |