All of lore.kernel.org
 help / color / mirror / Atom feed
* JFFS2 GC Bug?
@ 2008-07-24  1:36 suresh
  0 siblings, 0 replies; 3+ messages in thread
From: suresh @ 2008-07-24  1:36 UTC (permalink / raw)
  To: linux-omap

Hi,

Can files go missing if there is a powerfail when the garbage  
collection is running (and doing updation to the file system) on a  
JFFS2 filesystem.

Was this a bug in older kernels? I am seeing this on OMAP5912 using  
2.6.13-rc3.

Thanks in advance,
Suresh



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: JFFS2 GC Bug?
  2008-07-24  1:15 suresh
@ 2008-07-24  7:48 ` Hinko Kocevar
  0 siblings, 0 replies; 3+ messages in thread
From: Hinko Kocevar @ 2008-07-24  7:48 UTC (permalink / raw)
  To: suresh; +Cc: linux-mtd

suresh@mistralsolutions.com wrote:
> Hi,
> 
> Can files go missing if there is a powerfail when the garbage  
> collection is running (and doing updation to the file system) on a  
> JFFS2 filesystem.
> 

According to this doc not: http://www.linux-mtd.infradead.org/faq/jffs2.html

> Was this a bug in older kernels?

We are using 2.6.12 and 2.6.15 kernel on our embedded devices that use JFFS2 on NOR flash for rootfs. Devices are uncleanly shutdown every time, at least 3 times a day. Some devices are about 2.5 years in the wild and work as expected, while some fail to mount/use(!?) the rootfs right after the kernel has finished booting.
Right now we are testing 2.6.26 that does not fail to mount rootfs even under bigger stress tests than 2.6.12/2.6.15 kernels ever faced. Also a 'corrupt' flash that won't boot with 2.6.12/2.6.15 boots FINE with 2.6.26.

So my recommendation would be to use latest kernel sources.
 
my 2c,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar@cetrtapot.si
Http: www.cetrtapot.si

^ permalink raw reply	[flat|nested] 3+ messages in thread

* JFFS2 GC Bug?
@ 2008-07-24  1:15 suresh
  2008-07-24  7:48 ` Hinko Kocevar
  0 siblings, 1 reply; 3+ messages in thread
From: suresh @ 2008-07-24  1:15 UTC (permalink / raw)
  To: linux-mtd

Hi,

Can files go missing if there is a powerfail when the garbage  
collection is running (and doing updation to the file system) on a  
JFFS2 filesystem.

Was this a bug in older kernels?

Thanks in advance,
Suresh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-24  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-24  1:36 JFFS2 GC Bug? suresh
  -- strict thread matches above, loose matches on Subject: below --
2008-07-24  1:15 suresh
2008-07-24  7:48 ` Hinko Kocevar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.