Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Make sure to add NFS vnodes to the syncerd worklist.
details: https://anonhg.NetBSD.org/src/rev/6333dc6d5856
branches: trunk
changeset: 511817:6333dc6d5856
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jun 27 17:33:43 2001 +0000
description:
Make sure to add NFS vnodes to the syncerd worklist.
diffstat:
sys/nfs/nfs_bio.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r dbf26c978646 -r 6333dc6d5856 sys/nfs/nfs_bio.c
--- a/sys/nfs/nfs_bio.c Wed Jun 27 17:32:44 2001 +0000
+++ b/sys/nfs/nfs_bio.c Wed Jun 27 17:33:43 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_bio.c,v 1.67 2001/05/26 21:27:19 chs Exp $ */
+/* $NetBSD: nfs_bio.c,v 1.68 2001/06/27 17:33:43 thorpej Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -1026,6 +1026,10 @@
/* vnode is VOP_LOCKed, uobj is locked */
+ if (write && (vp->v_flag & VONWORKLST) == 0) {
+ vn_syncer_add_to_worklist(vp, filedelay);
+ }
+
bsize = nmp->nm_rsize;
orignpages = MIN(*ap->a_count,
round_page(eof - origoffset) >> PAGE_SHIFT);
Home |
Main Index |
Thread Index |
Old Index