MTD CVS update: 'mtd/kernel docecc.c nftlmount.c Makefile doc2001.c docprobe.c nftl.c'
David Woodhouse
dwmw2 at infradead.org
Fri Nov 3 07:43:43 EST 2000
Update of /home/cvs/mtd/kernel
In directory infradead.org:/tmp/cvs-serv5467/kernel
Modified Files:
Makefile doc2001.c docprobe.c nftl.c
Added Files:
docecc.c nftlmount.c
Log Message:
Goodies from Fabrice Bellard:
nftlmount.c: (new file)
Do extensive consistency tests when mounting NFTL. Correct handling of
bad block tables.
docecc.c: (new file)
Implementation of a disk on chip compatible ECC correction by using the
GPLed Reed Solomon routines of Phil Karn.
nftl.c:
- Suppressed pending block optimization : it is unsafe unless we write
the pending block *before* doing the chain formatting.
- Use NFTL_mount to mount NFTL.
- Use NFTL_formatblock for safe block formatting.
- Suppressed VirtualUnitTable[] which is not necessary (saves
memory). It was only used to get free blocks, and ReplUnitTable[]
can be used for that purpose.
- Oring of the OOB data to handle single bit errors (bit are going
from 1 to 0 when the flash becomes old).
- Erase info in NFTLrecord
- Extensive errors checks.
docprobe.c:
- Added option to give a single doc address
doc2001.c:
- use ECC correction code.
Some notes:
- lastEUN should really be suppressed because it is more logical to have
a block count (I added nb_blocks for that purpose).
- I noticed that the doc_read_ecc is slower than the MSystems version.
16 bit accesses should be done (even if the bus is 8 bits wide, it
should be faster to do 16 bit accesses).
To unsubscribe, send "unsubscribe mtd-cvs" to majordomo at infradead.org
More information about the linux-mtd-cvs
mailing list