[JFFS2] Relax threshold for triggering GC due to dirty blocks.
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 Oct 2007 10:29:07 +0000 (11:29 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 Oct 2007 10:29:07 +0000 (11:29 +0100)
commit85becc535b7f33be5aefdb8ecea9fac4998e4b6f
treeb459f5913d6ce3982b8636053f65c0386f6a12b6
parent1437085c3780f064a06df662195a2695e7d75c09
[JFFS2] Relax threshold for triggering GC due to dirty blocks.

Instead of matching resv_blocks_gcmerge, which is only about 3, instead
match resv_blocks_gctrigger, which includes a proportion of the total
device size.

These ought to become tunable from userspace, at some point.

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