Re: [PATCH v5 03/10] scsi: ufshpb: Add region's reads counter

From: Can Guo
Date: Thu Mar 11 2021 - 03:08:08 EST


On 2021-03-11 16:04, Avri Altman wrote:
> diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c
> index 044fec9854a0..a8f8d13af21a 100644
> --- a/drivers/scsi/ufs/ufshpb.c
> +++ b/drivers/scsi/ufs/ufshpb.c
> @@ -16,6 +16,8 @@
> #include "ufshpb.h"
> #include "../sd.h"
>
> +#define ACTIVATION_THRESHOLD 4 /* 4 IOs */

Can this param be added as a sysfs entry?
Yes.
Daejun asked me that as well, so the last patch makes all logic
parameter configurable.

Thanks,
Avri


Ok, thanks. I haven't reach the last one, absorbing them one by one.

Can Guo.


Thanks,
Can Guo