]> git.karo-electronics.de Git - mv-sheeva.git/commit
jffs2: Fix serious write stall due to erase
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Thu, 7 Oct 2010 16:01:44 +0000 (18:01 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 25 Oct 2010 00:06:22 +0000 (01:06 +0100)
commit81cfc9f1f4ad8d335367bb393bd042cc45b00047
tree9ba0193e5ba52abe543b12cde711fc061043ad76
parent733daa52b8d358e7c18be7fb9f82afc0619408f4
jffs2: Fix serious write stall due to erase

Drop the alloc_sem before erasing flash in
jffs2_garbage_collect_pass().
Otherwise writes are put on hold until the erase
has finised.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/gc.c