[JFFS2] Trigger garbage collection when very_dirty_list size becomes excessive
commit8fb870df5a1f261294b833dd807bcba3bacface6
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 6 Oct 2007 19:12:58 +0000 (6 15:12 -0400)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 6 Oct 2007 19:12:58 +0000 (6 15:12 -0400)
tree2e6018f0256feca906797b248603202962302fa6
parent49defc015ff58fda46a3afa3462dfdfa69bc8401
[JFFS2] Trigger garbage collection when very_dirty_list size becomes excessive

With huge amounts of free space, we weren't bothering to GC for while a
while, and pathological numbers of obsolete nodes were accumulating,
seriously affecting performance on NAND flash (OLPC trac #3978)

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/build.c
fs/jffs2/jffs2_fs_sb.h
fs/jffs2/nodemgmt.c