mtd/fs/jffs2 nodelist.c,1.62,1.63
David Woodhouse
dwmw2 at infradead.org
Fri Sep 13 11:24:55 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv6428
Modified Files:
nodelist.c
Log Message:
cond_resched() in jffs2_get_inode_nodes() to make the GC thread a bit
nicer after mounting.
Index: nodelist.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- nodelist.c 9 Sep 2002 16:29:08 -0000 1.62
+++ nodelist.c 13 Sep 2002 15:24:53 -0000 1.63
@@ -129,6 +129,8 @@
they're in gets erased */
spin_unlock_bh(&c->erase_completion_lock);
+ cond_resched();
+
/* FIXME: point() */
err = jffs2_flash_read(c, (ref_offset(ref)), min(ref->totlen, sizeof(node)), &retlen, (void *)&node);
if (err) {
More information about the linux-mtd-cvs
mailing list