[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sched_sync() fix
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: sched_sync() fix
- From: Pedro Martelletto <pbastos_(_at_)_inf_(_dot_)_puc-rio_(_dot_)_br>
- Date: Tue, 2 Nov 2004 11:38:26 -0200
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);
Visit your host, monkey.org