[BUG] JFFS2 power loss recovery issues in 2.6.25, 2.6.26-rc

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <dwmw2@...>, <linux-mtd@...>
Cc: <linux-kernel@...>
Date: Thursday, May 29, 2008 - 7:38 am

Hi, 

One of recent patches broke JFFS2 power loss recoverability.
We faced the issue in Linux 2.6.25 and 2.6.26-rc but not in 2.6.24,
2.6.23.

If to reboot platform during file write. And try to read it again rest
of file will contain trash. 
Issue is well reproducible on NAND, especially if to delete large file
before write and reboot.

We made some investigations for this issue and found commit number which
breaks JFFS2 power loss recoverability.
It is:  [JFFS2] Improve getdents vs. f_pos handling on NOR flash.
        http://git.infradead.org/mtd-2.6.git?a=commitdiff;h=15953580e79b58caefb107e77f218e009b...

Currently we don't know why it breaks JFFS2 and how it could be fixed
except roll back. 
So I would much appreciate any ideas on how it could be fixed. 


Thanks

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] JFFS2 power loss recovery issues in 2.6.25, 2.6.26-rc, Alexey Korolev, (Thu May 29, 7:38 am)