[PATCH v2 09/10] ubi: Add mean erase counter sysfs attribute for data area

Zhihao Cheng chengzhihao1 at huawei.com
Fri Oct 11 05:08:29 PDT 2024


在 2024/10/11 17:21, Rickard Andersson 写道:
> Data area includes all blocks except for the fastmap area.
> 
> Signed-off-by: Rickard Andersson <rickard.andersson at axis.com>
> ---
>   Documentation/ABI/stable/sysfs-class-ubi | 8 ++++++++
>   1 file changed, 8 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 62c93fda0bc4..100e1c0698a3 100644
> --- a/Documentation/ABI/stable/sysfs-class-ubi
> +++ b/Documentation/ABI/stable/sysfs-class-ubi
> @@ -242,3 +242,11 @@ Contact:	linux-mtd at lists.infradead.org
>   Description:
>   		Mean physical eraseblock erase counter value for the fastmap
>   		area.
> +
> +What:		/sys/class/ubi/ubiX/mean_ec_data
> +Date:		October 2024
> +KernelVersion:	6.X
> +Contact:	linux-mtd at lists.infradead.org
> +Description:
> +		Mean physical eraseblock erase counter value for data area.
> +		Data area includes all blocks except for the fastmap area.
> 




More information about the linux-mtd mailing list