OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2665ea8
)
[JFFS2] Don't count all 'very dirty' blocks except in debug mode
author
David Woodhouse
<dwmw2@infradead.org>
Sat, 13 Oct 2007 10:32:16 +0000
(11:32 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Sat, 13 Oct 2007 10:32:16 +0000
(11:32 +0100)
... where we'll actually print the count in a debug message.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/nodemgmt.c
patch
|
blob
|
history
diff --git
a/fs/jffs2/nodemgmt.c
b/fs/jffs2/nodemgmt.c
index
1b79534
..
a0313fa
100644
(file)
--- a/
fs/jffs2/nodemgmt.c
+++ b/
fs/jffs2/nodemgmt.c
@@
-749,7
+749,9
@@
int jffs2_thread_should_wake(struct jffs2_sb_info *c)
nr_very_dirty++;
if (nr_very_dirty == c->vdirty_blocks_gctrigger) {
ret = 1;
- D1(break);
+ /* In debug mode, actually go through and count them all */
+ D1(continue);
+ break;
}
}