Skip to contentSkip to conversation

JFFS2: disabling GC?

DISCUSSION Steven Scholz 3 participants 3 messages Jan 12, 2005 – Jan 18, 2005 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi there,

what would be the impact if I disabled the GC thread on my embedded system?

I use an JFFS2 partition as root fs. But usually only write to it on firmware update...

Thanks!

Signature · 2 lines
Steven Scholz
imc Measurement & Control
#1 lore raw
Quoted 3 lines · Steven Scholz

Hi there,

what would be the impact if I disabled the GC thread on my embedded system?

If you disable GC thread, the GC function will check inodes anyway, but not in backgroun - in the context of the first process which will need to write and which will cause the GC to reserve some space.

So, disabling the GC thread one of you writer task will just be blocked for that checking time. IMHO, thats not what people usually want.

Quoted 13 lines

I use an JFFS2 partition as root fs. But usually only write to it on firmware update...

Thanks!

Signature · 6 lines
Steven Scholz
imc Measurement & Control

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

#2 lore raw
In reply to Steven Scholz
Quoted 4 lines · Steven Scholz

what would be the impact if I disabled the GC thread on my embedded system?

I use an JFFS2 partition as root fs. But usually only write to it on firmware update...

Could you just mount it r/o?

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9