[PATCH v3] ubifs: ubifs to export filesystem error counters

Richard Weinberger richard at nod.at
Thu Oct 28 00:16:16 PDT 2021


Stefan,

----- Ursprüngliche Mail -----
> Von: "schaecsn" <schaecsn at gmx.net>
> An: "richard" <richard at nod.at>, "linux-mtd" <linux-mtd at lists.infradead.org>, "linux-kernel"
> <linux-kernel at vger.kernel.org>
> CC: "Stefan Schaeckeler" <sschaeck at cisco.com>
> Gesendet: Donnerstag, 28. Oktober 2021 08:21:24
> Betreff: [PATCH v3] ubifs: ubifs to export filesystem error counters

> From: Stefan Schaeckeler <sschaeck at cisco.com>
> 
> Not all ubifs filesystem errors are propagated to userspace.
> 
> Export bad magic, bad node and crc errors via sysfs. This allows userspace
> to notice filesystem errors:
> 
> /sys/fs/ubifs/ubiX_Y/errors_magic
> /sys/fs/ubifs/ubiX_Y/errors_node
> /sys/fs/ubifs/ubiX_Y/errors_crc
> 
> The counters are reset to 0 with a remount.
> 
> Signed-off-by: Stefan Schaeckeler <sschaeck at cisco.com>
> ---
> Changes in v3:
>  - Added Documentation/ABI/testing/sysfs-fs-ubifs
>  - Added Documentation/ABI/testing/sysfs-fs-ubifs to MAINTAINERS

I asked for just the Documentation. v2 of your patch is already in linux-next. :-)

Thanks,
//richard



More information about the linux-mtd mailing list