Module Name:    src
Committed By:   pooka
Date:           Sun Oct 18 15:57:15 UTC 2009

Modified Files:
        src/usr.sbin/puffs/rump_nfs: rump_nfs.c

Log Message:
Use write through cache here too.  Doesn't make the same kind of
difference as with smbfs since nfs is "stateless", but better to
have the data on the server ASAP in case some other nods wants to
use it.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/puffs/rump_nfs/rump_nfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/puffs/rump_nfs/rump_nfs.c
diff -u src/usr.sbin/puffs/rump_nfs/rump_nfs.c:1.7 src/usr.sbin/puffs/rump_nfs/rump_nfs.c:1.8
--- src/usr.sbin/puffs/rump_nfs/rump_nfs.c:1.7	Sun Jan 11 20:31:03 2009
+++ src/usr.sbin/puffs/rump_nfs/rump_nfs.c	Sun Oct 18 15:57:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump_nfs.c,v 1.7 2009/01/11 20:31:03 pooka Exp $	*/
+/*	$NetBSD: rump_nfs.c,v 1.8 2009/10/18 15:57:15 pooka Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -65,7 +65,7 @@
 	mount_nfs_parseargs(argc, argv, &args, &mntflags, canon_dev, canon_dir);
 
 	rv = p2k_run_fs(MOUNT_NFS, canon_dev, canon_dir, mntflags, &args,
-	    sizeof(args), 0);
+	    sizeof(args), PUFFS_KFLAG_WTCACHE);
 	if (rv == -1)
 		err(1, "mount");
 

Reply via email to