Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/puffs/rump_nfs Use write through cache here too. D...



details:   https://anonhg.NetBSD.org/src/rev/2f10234676cd
branches:  trunk
changeset: 748256:2f10234676cd
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Oct 18 15:57:15 2009 +0000

description:
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.

diffstat:

 usr.sbin/puffs/rump_nfs/rump_nfs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 56dca1090c94 -r 2f10234676cd usr.sbin/puffs/rump_nfs/rump_nfs.c
--- a/usr.sbin/puffs/rump_nfs/rump_nfs.c        Sun Oct 18 15:23:54 2009 +0000
+++ b/usr.sbin/puffs/rump_nfs/rump_nfs.c        Sun Oct 18 15:57:15 2009 +0000
@@ -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");
 



Home | Main Index | Thread Index | Old Index