Re: [PATCH v4] scsi: ufs: wb: Add explicit flush_threshold sysfs attribute

From: Bart Van Assche
Date: Mon Jun 12 2023 - 14:21:25 EST


On 6/9/23 02:11, Lu Hongfei wrote:
+What: /sys/bus/platform/drivers/ufshcd/*/wb_flush_threshold
+What: /sys/bus/platform/devices/*.ufs/wb_flush_threshold
+Date: June 2023
+Contact: Lu Hongfei <luhongfei@xxxxxxxx>
+Description: wb_flush_threshold is a percentage that represents the threshold for flush WB.
+ When avail_wb_buff < wb_flush_threshold, the dev will flush WB when entered H8.
+ When avail_wb_buff >= wb_flush_threshold, it is not necessary.

"Percentage" suggests a number in the range 0..100 while the valid range is 0..10.
Please fix this.

Thanks,

Bart.