[PATCH][JFFS2] Fix garbage collector block search

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


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.

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.
 
-- 
dwmw2




More information about the linux-mtd mailing list