Deadlock issue in jffs2 (related to reverted patch "jffs2: Fix lock acquisition order bug in jffs2_write_begin")

Thomas.Betker at rohde-schwarz.com Thomas.Betker at rohde-schwarz.com
Tue Mar 29 05:08:35 PDT 2016


Hello Francois:

> I encountered same as the one that drive you to remove this patch (
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
> commit/fs/jffs2?id=157078f64b8a9cd7011b6b900b2f2498df850748)
> Unfortunately, this patch solved some big deadlock issues in jffs2. 
> So, my concern is that we return back to our initial issue.
> 
> So, do you have any update for this issue? May be the 2015 patch was
> just not suffisant. 

David Woodhouse has provided a patch "jffs2: Fix page lock / f->sem 
deadlock" which was added to linux-4.5 (alternatively, you can get the 
patch here: http://git.infradead.org/users/dwmw2/jffs2-fixes.git).

Hope this helps,
Thomas



More information about the linux-mtd mailing list