This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: JFFS2 : Node info mutex fix suggestion.
- From: Thomas Koeller <thomas dot koeller at baslerweb dot com>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: ecos-patches at sources dot redhat dot com,Andrew Lunn <andrew at lunn dot ch>
- Date: Tue, 2 Mar 2004 11:46:29 +0100
- Subject: Re: JFFS2 : Node info mutex fix suggestion.
- Organization: Basler AG
- References: <402BA793.4080805@abem.se> <1077032122.17692.62.camel@hermes>
Gary Thomas wrote:
> On Thu, 2004-02-12 at 09:19, Alf Nilsson wrote:
> > When running a project with priority inheritance we noticed that all the
> > threads that passed though JFFS did not return to their original
> > priority. This due to the mutex count in the jffs2_inode_info was in
> > some cases 2 as lowest. We found that this depended on a call to
> > fs-ecos.c:jffs2_init_inode_info in fs-ecos.c:jffs2_new_inode. The 2nd
> > call in fs-ecos.c:jffs2_new_inode that increases the mutex occurs in
> > read.c:jffs2_do_new_inode.
> > This might not be the ultimate solution, but it seemed like the right
> > place to place the patch, but I'm open for suggestions.
>
> After consulting with David Woodhouse (the JFFS2 maintainer), I've
> committed the following change(s). Please let us know if you have
> other problems.
Unfortunatly, applying this change undid my previous change (1.24, applied by
Andrew) and re-introduced the error it fixed. Can you please rectify this?
tk
--
--------------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-162
Fax +49 (4102) 463-239
mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com
==============================