* jffs2 minimum mtd block size
@ 2004-12-01 8:35 mike
2004-12-01 9:48 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: mike @ 2004-12-01 8:35 UTC (permalink / raw)
To: linux-mtd
Dear all
I want to ask about minimum mtdblock size which jffs2 need . Why i
ask is because i try to make a 128kbyte mtdblock for my system status
storage, it fails. And i repartition to 1MB, it consumes the flash
nearly 600KB without any data.
Am i do something wrong? or there is a minimum size for jffs2.
If it is, Could i conclude that jffs2 do not suit to store small
size of data. And which filesystem expertise can suggest me for this
purpose?
best regard
mike,lee
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: jffs2 minimum mtd block size
2004-12-01 8:35 jffs2 minimum mtd block size mike
@ 2004-12-01 9:48 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2004-12-01 9:48 UTC (permalink / raw)
To: mike; +Cc: linux-mtd
On Wed, 2004-12-01 at 16:35 +0800, mike wrote:
> Dear all
> I want to ask about minimum mtdblock size which jffs2 need . Why i
> ask is because i try to make a 128kbyte mtdblock for my system status
> storage, it fails. And i repartition to 1MB, it consumes the flash
> nearly 600KB without any data.
> Am i do something wrong? or there is a minimum size for jffs2.
> If it is, Could i conclude that jffs2 do not suit to store small
> size of data. And which filesystem expertise can suggest me for this
> purpose?
It needs at least one or two eraseblocks free for garbage collection;
currently it's a little more conservative than that though. You can
reduce the reserved space in jffs2_calc_trigger_levels() in build.c
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-01 9:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-01 8:35 jffs2 minimum mtd block size mike
2004-12-01 9:48 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox