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

Bussery, Francois Francois.Bussery at arris.com
Fri Apr 1 01:52:14 PDT 2016


After 3 days testings, I confirm that the patch works.
Thanks a lot
> On 29 Mar 2016, at 14:08, Thomas.Betker at rohde-schwarz.com wrote:
> 
> 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