Thread (58 messages) 58 messages, 4 authors, 2021-06-01

RE: [PATCH v5 04/10] scsi: ufshpb: Make eviction depends on region's reads

From: Avri Altman <Avri.Altman@wdc.com>
Date: 2021-03-11 08:07:36
Also in: lkml

quoted
diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c
index a8f8d13af21a..6f4fd22eaf2f 100644
--- a/drivers/scsi/ufs/ufshpb.c
+++ b/drivers/scsi/ufs/ufshpb.c
@@ -17,6 +17,7 @@
 #include "../sd.h"

 #define ACTIVATION_THRESHOLD 4 /* 4 IOs */
+#define EVICTION_THRESHOLD (ACTIVATION_THRESHOLD << 6) /* 256 IOs
*/

Same here, can this be added as a sysfs entry?
Yes.  Please see last patch.

Thanks,
Avri
Thanks,
Can Guo.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help