[PATCH] JFFS2 appears to "freeze" during erase

David Woodhouse dwmw2 at infradead.org
Fri Jun 1 14:04:57 EDT 2007


On Fri, 2007-06-01 at 11:51 +0200, Joakim Tjernlund wrote:
> This is a old patch from Radoslaw Bisewski(see MTD list). The patch
> fixes the long stalls I am seeing in "GC starves write's in 2.6.20" I
> sent yesterday. Please apply.

It seems to make sense; I need to convince myself that every other user
of the erase_free_sem is actually OK with it. I think
jffs2_g_c_deletion_dirent() should be OK, at first glance. I'm less
convinced about jffs2_mark_node_obsolete(), where we currently hold the
erase_free_sem while we actually mark the node obsolete. Will look into
it...

-- 
dwmw2





More information about the linux-mtd mailing list