[PATCH] mtd/block2mtd: don't poke into block layer internals
hch
hch at lst.de
Mon Oct 18 22:53:09 PDT 2021
On Thu, Oct 14, 2021 at 09:28:19PM +0200, Richard Weinberger wrote:
> > instead. Note that this contains a small behavior change in that erase
> > now unconditionally writes all Fs instead of first scanning for them.
>
> Unless you have a strong opinoin I'd like to keep the scanning.
> The original use case of block2mtd is using Compact Flash (ATA)
> as MTD. Some of this devices are super stupid and I fear the 0xFF scanning
> is here to avoid programming 0xFF bytes into the NAND.
> Just to be on the safe side...
I played with keeping the scanning, but it really is a mess. Shouldn't
the higher layers (ubi, jffs2, etc) know what has already been erased?
Btw, Joerns address bounces. Does anyone knw if he still wants to
maintain block2mtd and has a new address or if he should be removed from
the maintainers list?
More information about the linux-mtd
mailing list