public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2_get_inode_nodes() very very slow
@ 2005-02-01 15:32 Rudi Engelbertink
  2005-02-01 16:03 ` Artem B. Bityuckiy
  2005-02-01 16:10 ` Thomas Gleixner
  0 siblings, 2 replies; 9+ messages in thread
From: Rudi Engelbertink @ 2005-02-01 15:32 UTC (permalink / raw)
  To: linux-mtd

Hello,

On a 64 MiB NAND Flash I created a jffs2 file system. After several tests
especially power fail tests resulting in a lot off CRC and Data CRC errors.
This appears not to be a problem except it takes a very long time to check
the file system.
The initial check (scanning for erased blocks) is done in aproximatly 10
seconds, but after that the jffs2_get_inode_nodes check is running. 
This process takes up to 8 minutes.
During this time the file-system is inaccessible which in oure case a
watchdog decides to reboot the system, making it even worse.
It appears that the check is done with a stepsize of 16 bytes. On an 64MiB
NAND flash it does this check +/- 4 million times.

Is there a way to reduce the time to check the file-system and/or how 
can I recover from these errors.

Kind Regards,
Rudi.
-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
   Benjamin Franklin (1706-1790), Letter to Josiah Quincy, Sept. 11, 1773.
GnuPG Key fingerprint = 706C E2AC 7AE2 BCEE 04EB  A962 0A75 7F9B 07A1 83E8

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

end of thread, other threads:[~2005-02-02 12:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01 15:32 jffs2_get_inode_nodes() very very slow Rudi Engelbertink
2005-02-01 16:03 ` Artem B. Bityuckiy
2005-02-02  9:05   ` Rudi Engelbertink
2005-02-02 10:26     ` Thomas Gleixner
2005-02-02 10:35       ` David Woodhouse
2005-02-02 11:23         ` Artem B. Bityuckiy
2005-02-02 12:26       ` Rudi Engelbertink
2005-02-02 12:41         ` Thomas Gleixner
2005-02-01 16:10 ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox