Re: [PATCH v3] ubifs: ubifs to export filesystem error counters
From: Richard Weinberger
Date: Thu Oct 28 2021 - 03:16:20 EST
Stefan,
----- Ursprüngliche Mail -----
> Von: "schaecsn" <schaecsn@xxxxxxx>
> An: "richard" <richard@xxxxxx>, "linux-mtd" <linux-mtd@xxxxxxxxxxxxxxxxxxx>, "linux-kernel"
> <linux-kernel@xxxxxxxxxxxxxxx>
> CC: "Stefan Schaeckeler" <sschaeck@xxxxxxxxx>
> Gesendet: Donnerstag, 28. Oktober 2021 08:21:24
> Betreff: [PATCH v3] ubifs: ubifs to export filesystem error counters
> From: Stefan Schaeckeler <sschaeck@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> ---
> 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