Comment 1 for bug 422198

Revision history for this message
Josh Bressers (josh-bress) wrote :

This bug ended up causing me some disk corruption when I removed the 400K files in my cache (I've found ext4 can be flaky under high loads when you remove lots of little files)

Here is a patch that will cap the cache around 2 megs. For me this ends up being around 3.7 megs of real disk usage, and about 800 files.

The patch isn't perfect, and could use a configuration option to control the amount used. I'm treating this as more of a prototype.

It applies cleanly against the version of gwibber in Fedora 12 (gwibber-1.2.0-3.349bzr.fc12.noarch)