diff mbox series

[v2,10/10] ubi: Add max erase counter sysfs attribute for data area

Message ID 20241011092134.2909496-10-rickard.andersson@axis.com
State New
Headers show
Series [v2,01/10] ubi: Expose mean erase counter in sysfs | expand

Commit Message

Rickard Andersson Oct. 11, 2024, 9:21 a.m. UTC
Data area includes all blocks except for the fastmap area.

Signed-off-by: Rickard Andersson <rickard.andersson@axis.com>
---
 Documentation/ABI/stable/sysfs-class-ubi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Zhihao Cheng Oct. 11, 2024, 12:08 p.m. UTC | #1
在 2024/10/11 17:21, Rickard Andersson 写道:
> Data area includes all blocks except for the fastmap area.
> 
> Signed-off-by: Rickard Andersson <rickard.andersson@axis.com>
> ---
>   Documentation/ABI/stable/sysfs-class-ubi | 8 ++++++++
>   1 file changed, 8 insertions(+)

Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
> 
> diff --git a/Documentation/ABI/stable/sysfs-class-ubi b/Documentation/ABI/stable/sysfs-class-ubi
> index 100e1c0698a3..ff453557b0db 100644
> --- a/Documentation/ABI/stable/sysfs-class-ubi
> +++ b/Documentation/ABI/stable/sysfs-class-ubi
> @@ -86,6 +86,14 @@ Description:
>   		Maximum physical eraseblock erase counter value for a block
>   		in the fastmap area.
>   
> +What:		/sys/class/ubi/ubiX/max_ec_data
> +Date:		October 2024
> +KernelVersion:	6.X
> +Contact:	linux-mtd@lists.infradead.org
> +Description:
> +		Max physical eraseblock erase counter value for data area.
> +		Data area includes all blocks except for the fastmap area.
> +
>   What:		/sys/class/ubi/ubiX/max_vol_count
>   Date:		July 2006
>   KernelVersion:	2.6.22
>
diff mbox series

Patch

diff --git a/Documentation/ABI/stable/sysfs-class-ubi b/Documentation/ABI/stable/sysfs-class-ubi
index 100e1c0698a3..ff453557b0db 100644
--- a/Documentation/ABI/stable/sysfs-class-ubi
+++ b/Documentation/ABI/stable/sysfs-class-ubi
@@ -86,6 +86,14 @@  Description:
 		Maximum physical eraseblock erase counter value for a block
 		in the fastmap area.
 
+What:		/sys/class/ubi/ubiX/max_ec_data
+Date:		October 2024
+KernelVersion:	6.X
+Contact:	linux-mtd@lists.infradead.org
+Description:
+		Max physical eraseblock erase counter value for data area.
+		Data area includes all blocks except for the fastmap area.
+
 What:		/sys/class/ubi/ubiX/max_vol_count
 Date:		July 2006
 KernelVersion:	2.6.22