[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sched_sync() fix



hi,

in sched_sync(), we are moving a vnode two seconds ahead in time,
instead of one. again, please test and report.

-p.

Index: vfs_sync.c
===================================================================
RCS file: /cvs/src/sys/kern/vfs_sync.c,v
retrieving revision 1.29
diff -u -r1.29 vfs_sync.c
--- vfs_sync.c	2004/10/29 11:51:49	1.29
+++ vfs_sync.c	2004/11/01 14:57:32
@@ -166,7 +159,7 @@
 				 * vnode one second ahead in time.
 				 * XXX - no good, but the best we can do.
 				 */
-				vn_syncer_add_to_worklist(vp, 1);
+				vn_syncer_add_to_worklist(vp, 0);
 				continue;
 			}
 			splx(s);