[PATCH v3 06/10] ubi: Add mean erase counter sysfs attribute

Rickard Andersson rickard.andersson at axis.com
Fri Oct 11 05:59:00 PDT 2024


A mean erase counter gives a better understanding of the flash
wear.

Reviewed-by: Zhihao Cheng <chengzhihao1 at huawei.com>
Signed-off-by: Rickard Andersson <rickard.andersson at axis.com>
---
 Documentation/ABI/stable/sysfs-class-ubi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/ABI/stable/sysfs-class-ubi b/Documentation/ABI/stable/sysfs-class-ubi
index a6b324014692..535a3e6dab12 100644
--- a/Documentation/ABI/stable/sysfs-class-ubi
+++ b/Documentation/ABI/stable/sysfs-class-ubi
@@ -219,3 +219,10 @@ Description:
 		Logical eraseblock size of this volume. Equivalent to logical
 		eraseblock size of the device aligned on the volume alignment
 		value.
+
+What:		/sys/class/ubi/ubiX/mean_ec
+Date:		October 2024
+KernelVersion:	6.X
+Contact:	linux-mtd at lists.infradead.org
+Description:
+		Mean physical eraseblock erase counter value.
-- 
2.30.2




More information about the linux-mtd mailing list