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

Zhihao Cheng chengzhihao1 at huawei.com
Fri Oct 11 05:06:07 PDT 2024


在 2024/10/11 17:21, Rickard Andersson 写道:
> A mean erase counter gives a better understanding of the flash
> wear.
> 
> Signed-off-by: Rickard Andersson <rickard.andersson at axis.com>
> ---
>   Documentation/ABI/stable/sysfs-class-ubi | 7 +++++++
>   1 file changed, 7 insertions(+)
> 

Reviewed-by: Zhihao Cheng <chengzhihao1 at huawei.com>
> 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.
> 




More information about the linux-mtd mailing list