[PATCH] remove support for virtual blocks
jdub at us.ibm.com
Fri Aug 26 16:12:29 EDT 2005
On Fri, 2005-08-26 at 12:25 +0200, Jörn Engel wrote:
> Trivial patch. Anyone complaining about this is free to write a
> better one. Can I commit?
So now with this 1:1 mapping, a user is limited to using a 64 MiB chip
if the physical block size is 32 KiB? I know there are NAND chips out
there that use such a block size and are larger than 64MiB. Do we
really want to stop supporting all of these devices?
Even MTD devices using 128 KiB eraseblocks are limited to approximately
341 MiB in total size. Remember, with NOR flash multiple devices of the
exact same type can be mapped as a single device as long as they are
physically contiguous in memory space.
And these numbers are based on a 32 bit machine, where sizeof(struct
jffs2_eraseblock) is 48 bytes. On a 64 bit machine, even smaller
devices are supported since the structure goes up to 68 bytes.
Of course, these are all based on my math being correct. Which of
course it might not be since sleep is a precious, precious thing at the
More information about the linux-mtd