[PATCH][JFFS2] Fix garbage collector block search

Alexander Belyakov abelyako at googlemail.com
Thu Apr 24 06:14:03 EDT 2008


On Thu, Apr 24, 2008 at 11:51 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
> On Thu, 2008-04-24 at 11:48 +0400, Alexander Belyakov wrote:
>  > Values are not fluctuating. After about 40 iterations I have no space
>  > to write 2Mbytes file on 4MiB volume constantly getting "No space left
>  > on device" until remount.
>
>  With no existing files?

No files.

>
>
>  > It might be not a real leak, but anyway pixie doesn't feel this is a
>  > correct behavior. :)
>
>  Ah, OK -- that's definitely not what I was seeing here. I'll try harder
>  to reproduce.
>
>  Does the space come back when you remount? And are you running with the
>  new paranoia check I added in commit 85a62db6?
>

Space comes back after remount.

I'm able to reproduce problem with stable 2.6.25 kernel, but I see no
such fails with the latest mtd-2.6.git snapshot. It seems changes in
jffs2 since 2.6.25 merge address this issue somehow.

If I hit something similar once again I would let you know.

-a



More information about the linux-mtd mailing list