No space left on almost empty JFFS2 filesystem

Jörn Engel joern at wohnheim.fh-wedel.de
Wed Jun 25 12:04:35 EDT 2003


On Wed, 25 June 2003 16:52:34 +0100, Jasmine Strong wrote:
> On Wednesday, Jun 25, 2003, at 16:48 Europe/London, Paul van Gool wrote:
> 
> >I have created an small and almost empty JFFS2 filesystem and have put 
> >it
> >on my flash.
> 
> JFFS2 filesystems require a certain number of erase blocks reserved for
> garbage collection before you can write anything to them.
> 
> 128k is only one erase block for most CFI flashes and is thus far too 
> small
> to have the five(?) free blocks that are required.  There was talk of 
> proving
> the GC for two free blocks, but either way, one block is not (and never 
> will
> be) enough.

Two blocks will be tough, but three seem possible for NOR flash.  If
you care about it, there was some discussion a couple of month back,
even an initial patch.  But then priorities shifted, so that is the
latest status.

Jörn

-- 
Ninety percent of everything is crap.
-- Sturgeon's Law



More information about the linux-mtd mailing list