This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: eCos jffs2 garbage collection thread + fix
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Per Hedblom <per dot hedblom at abem dot se>
- Cc: eCos patches <ecos-patches at ecos dot sourceware dot org>,David Woodhouse <dwmw2 at infradead dot org>
- Date: Sun, 14 Nov 2004 16:52:53 -0700
- Subject: Re: eCos jffs2 garbage collection thread + fix
- Organization: MLB Associates
- References: <20041114234059.F151037E46@smtp2-2-sn4.m-sp.skanova.net>
On Sun, 2004-11-14 at 16:40, Per Hedblom wrote:
> Hi,
> I have spent some time implementing the garbage collect thread for jffs2 in
> eCos. I publish this as a version that is more complete than the current
> gcthread.c without promising anything more. It seams to work under the synt
> target tested with low, the same, and higher priority than a file system
> test thread. One major question is if the locking of the icache is correct.
>
> I also publish my temporary fix for a previously reported problem with the
> garbage collection. (jffs2_write_fix). This fix is needed if garbage
> collection hits the erase block that the "write" is currently appending data
> to. Jffs2 will otherwise report BUG in gc.c on line 1161.
> It's a workaround for the problem until someone can find the correct
> solution.
Very nice & worth looking in to. However, before we can accept this
into the eCos code base, the copyright has to be firmly assigned, either
to Red Hat (and David can take it over into his tree) or eCosCentric
(later to the FSF). Please refer to http://ecos.sourceware.org/assign.html
for the details.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates