[PATCH][JFFS2] Fix garbage collector block search

David Woodhouse dwmw2 at infradead.org
Wed Apr 23 11:30:56 EDT 2008


On Wed, 2008-04-23 at 19:25 +0400, Alexander Belyakov wrote:
> >  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.

I wouldn't worry too much about what jffs2_statfs() says. We really do
make crap up there :)

-- 
dwmw2




More information about the linux-mtd mailing list