]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb0b55acaf60459122a805f33813bfb152baacd56
treeb459f5913d6ce3982b8636053f65c0386f6a12b6
parent61a7db3cfc3310df30d8d613bb2f6e192efc9dac
[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