public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: "Csókás Bence" <csokas.bence@prolan.hu>,
	linux-mtd <linux-mtd@lists.infradead.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	"Vignesh Raghavendra" <vigneshr@ti.com>
Subject: Re: [PATCH v3] mtd: Verify written data in paranoid mode
Date: Mon, 12 May 2025 11:45:14 +0200 (CEST)	[thread overview]
Message-ID: <328640247.29680292.1747043114691.JavaMail.zimbra@nod.at> (raw)
In-Reply-To: <87frhambri.fsf@bootlin.com>

----- Ursprüngliche Mail -----
> Von: "Miquel Raynal" <miquel.raynal@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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2025-05-12 10:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-12  8:40 [PATCH v3] mtd: Verify written data in paranoid mode Bence Csókás
2025-05-12  9:14 ` Miquel Raynal
2025-05-12  9:45   ` Richard Weinberger [this message]
2025-05-12 12:29   ` Csókás Bence
2025-05-12 12:47     ` Richard Weinberger
2025-05-12 13:13       ` Csókás Bence
2025-05-12 13:59         ` Miquel Raynal
2025-05-12 15:23           ` Richard Weinberger
2025-05-12 15:33             ` Miquel Raynal
2025-05-12 15:51               ` Csókás Bence
2025-05-12 15:57                 ` Richard Weinberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=328640247.29680292.1747043114691.JavaMail.zimbra@nod.at \
    --to=richard@nod.at \
    --cc=csokas.bence@prolan.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox