[PATCH v3] mtd: Verify written data in paranoid mode
Richard Weinberger
richard at nod.at
Mon May 12 02:45:14 PDT 2025
----- Ursprüngliche Mail -----
> Von: "Miquel Raynal" <miquel.raynal at bootlin.com>
>> +config MTD_PARANOID
>> + bool "Read back written data (paranoid mode)"
>> + help
>> + This option makes the MTD core read back all data on a write and
>> + report an error if it doesn't match the written data. This can
>> + safeguard against silent bit errors resulting from a faulty Flash,
>> + controller oddities, bus noise etc.
>> +
>> + It is up to the layer above MTD (e.g. the filesystem) to handle
>> + this condition, for example by going read-only to prevent further
>> + data corruption, or to mark a certain region of Flash as bad.
>> +
>> + If you are unsure, select 'n'.
I still have a hard time seeing the benefit of this.
To me it looks like you're working around broken hardware.
Thanks,
//richard
More information about the linux-mtd
mailing list