[PATCH] JFFS2 appears to "freeze" during erase
Joakim Tjernlund
joakim.tjernlund at transmode.se
Mon Jun 4 03:34:03 EDT 2007
On Fri, 2007-06-01 at 19:04 +0100, David Woodhouse wrote:
> 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...
>
Had a look at my own 2.4 tree and that too has this problem altough I
never noticed such long delays. Maybe thats because my FS is much
smaller and EB is 2x bigger(2 chips in paralell).
Jocke
More information about the linux-mtd
mailing list