4K block size question

David Woodhouse dwmw2 at infradead.org
Wed Oct 20 07:00:13 EDT 2004


On Wed, 2004-10-20 at 14:57 +0400, Artem B. Bityuckiy wrote:
> Hello,
> 
> In case of 2MiB NAND flash (with 256-byte page) the sector size is 4KiB. 
> The JFFS2 virtual block size is also 4KiB.
> 
> The size of pristine node is 4KiB data + node header. So, in 
> uncompressed form, the pristine node can't fit into JFFS2 block if the 
> compression is disabled. So, how does JFFS2 work on such flash :-) ?

By writing nodes which don't cover a full 4KiB and hence aren't
pristine.

-- 
dwmw2






More information about the linux-mtd mailing list