JFFS2_RESERVED_BLOCKS_*

dennis noermann dennis.noermann at noernet.de
Wed Oct 3 18:44:44 EDT 2001


On Wed, 3 Oct 2001, [iso-8859-1] Jörn Engel wrote:

> Hi!
>
>
> Formal proof is a tough one. But the difference between theoretical
> and practical minimum should be a couple of bugs, that might be found
> with a bigger userbase.
> What wheel do I have to turn, to lower the limit myself?
>
> Jörn

nodelist.h

#define JFFS2_RESERVED_BLOCKS_BASE 3
#define JFFS2_RESERVED_BLOCKS_WRITE (JFFS2_RESERVED_BLOCKS_BASE + 2)
#define JFFS2_RESERVED_BLOCKS_DELETION (JFFS2_RESERVED_BLOCKS_BASE + 1)
#define JFFS2_RESERVED_BLOCKS_GCTRIGGER (JFFS2_RESERVED_BLOCKS_BASE + 3)
#define JFFS2_RESERVED_BLOCKS_GCBAD (JFFS2_RESERVED_BLOCKS_BASE + 1)
#define JFFS2_RESERVED_BLOCKS_GCMERGE (JFFS2_RESERVED_BLOCKS_BASE)


you see all depends on JFFS2_RESERVED_BLOCKS_BASE
try to  decrease this
i am running it with
JFFS2_RESERVED_BLOCKS_BASE 0
JFFS2_RESERVED_BLOCKS_GCTRIGGER (JFFS2_RESERVED_BLOCKS_BASE + 2)

and it works fine

dennis





More information about the linux-mtd mailing list