[PATCH][JFFS2] Fix garbage collector block search

Alexander Belyakov abelyako at googlemail.com
Wed Apr 23 11:25:16 EDT 2008


On Wed, Apr 23, 2008 at 6:30 PM, David Woodhouse <dwmw2 at infradead.org> wrote:
> On Wed, 2008-04-23 at 15:01 +0100, David Woodhouse wrote:
>  > Hm, I can't make it fail. I'm using nandsim, and have enabled the
>  > 'Museum IDs' so that I can have a 4MiB device (I've also tried 2MiB).
>
>  Hm. I had to disable XATTR support and _now_ I can make it fail. I can
>  watch my patch do the right thing, so I'll commit it. Thanks for the
>  diagnosis.

Good. You're welcome.

>
>  Not sure why it wasn't failing with XATTR enabled. At first glance I
>  think it was because all the blocks were going on the very_dirty_list
>  instead of the erasable_pending_wbuf_list, when I deleted the file.
>  I hope we don't have a space leak with XATTRs.
>

Continuously running script from my previous message, I've just
noticed that space leak does exist. Available space (reported by df)
decreases with each iteration. I've not investigated this in details
yet, but it seems the behavior is the same for XATTR support enabled
and disabled.

Thanks,
Alexander



More information about the linux-mtd mailing list