[PATCH v3 1/3] mtd: Add sysfs attributes to expose the ECC stats fields
Brian Norris
computersforpeace at gmail.com
Tue Jul 8 18:36:23 PDT 2014
On Tue, Jun 24, 2014 at 10:55:50AM -0300, Ezequiel Garcia wrote:
> These new sysfs device attributes allows to retrieve the ECC
> and bad block stats by poking a sysfs file, which is often more convenient
> than using the ioctl.
>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
> ---
> Documentation/ABI/testing/sysfs-class-mtd | 38 ++++++++++++++++++++++++++
> drivers/mtd/mtdcore.c | 45 +++++++++++++++++++++++++++++++
> 2 files changed, 83 insertions(+)
I'm squashing in the following diff:
diff --git a/Documentation/ABI/testing/sysfs-class-mtd b/Documentation/ABI/testing/sysfs-class-mtd
index 66d5206df742..76ee192f80a0 100644
--- a/Documentation/ABI/testing/sysfs-class-mtd
+++ b/Documentation/ABI/testing/sysfs-class-mtd
@@ -191,7 +191,7 @@ KernelVersion: 3.17
Contact: linux-mtd at lists.infradead.org
Description:
The number of failures reported by this device's ECC. Typically,
- this failures are associated to failed read operations.
+ these failures are associated with failed read operations.
It will always be a non-negative integer. In the case of
devices lacking any ECC capability, it is 0.
@@ -212,7 +212,7 @@ Date: June 2014
KernelVersion: 3.17
Contact: linux-mtd at lists.infradead.org
Description:
- The number of blocks marked as bad, is any, in this partition.
+ The number of blocks marked as bad, if any, in this partition.
What: /sys/class/mtd/mtdX/bbt_blocks
Date: June 2014
@@ -221,4 +221,4 @@ Contact: linux-mtd at lists.infradead.org
Description:
The number of blocks that are marked as reserved, if any, in
this partition. These are typically used to store the in-flash
- bad block table.
+ bad block table (BBT).
More information about the linux-mtd
mailing list