[PATCH 3/3] mtd: block2mtd: convert _block2mtd_erase() to folios

Jörn Engel joern at barelysecure.org
Thu Oct 15 11:34:44 PDT 2026


On Thu, Oct 15, 2026 at 11:19:23AM -0400, Tal Zussman wrote:
> 
> It seems like it's a real but very rare pre-existing issue.

You should drop the "but very rare" bit. ;)

When it comes to bugs, being rare and hard to hit doesn't improve
things, it makes them worse.  Rare bugs result in crazy bug reports that
you cannot reproduce.  Instead of spending a few hours on them, they can
cost you days, weeks or months.

They are also often non-trivial to fix.  Instead of taking a bug report
and saying "ah, here is the problem", several times I've had to come up
with new debug code, make it robust enough to ship into production
(because rare bugs only reproduce at scale, which means on production
systems), refine it once or twice and then finally get enough
information to fix the bug.

On the plus side, such debug infrastructure tends to provide enough
clues to fix many bugs, not just one troublemaker.

Jörn

--
The cost of changing business rules is much more expensive for software
than for a secretaty.
-- unknown



More information about the linux-mtd mailing list