Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/nfs Pull up revision 1.31 (requested by yamt in tic...
details: https://anonhg.NetBSD.org/src/rev/72bc0283ab43
branches: netbsd-2-0
changeset: 561286:72bc0283ab43
user: jdc <jdc%NetBSD.org@localhost>
date: Sat Jun 05 20:42:06 2004 +0000
description:
Pull up revision 1.31 (requested by yamt in ticket #444).
enable reply cache for connection oriented protocols as well.
linux retransmits rpcs even when using tcp.
diffstat:
sys/nfs/nfs_srvcache.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r fefc630c1a4b -r 72bc0283ab43 sys/nfs/nfs_srvcache.c
--- a/sys/nfs/nfs_srvcache.c Sat Jun 05 05:00:30 2004 +0000
+++ b/sys/nfs/nfs_srvcache.c Sat Jun 05 20:42:06 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_srvcache.c,v 1.30 2003/11/20 16:18:49 yamt Exp $ */
+/* $NetBSD: nfs_srvcache.c,v 1.30.2.1 2004/06/05 20:42:06 jdc Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_srvcache.c,v 1.30 2003/11/20 16:18:49 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_srvcache.c,v 1.30.2.1 2004/06/05 20:42:06 jdc Exp $");
#include "opt_iso.h"
@@ -229,12 +229,6 @@
caddr_t bpos;
int ret;
- /*
- * Don't cache recent requests for reliable transport protocols.
- * (Maybe we should for the case of a reconnect, but..)
- */
- if (!nd->nd_nam2)
- return RC_DOIT;
simple_lock(&nfsrv_reqcache_lock);
rp = nfsrv_lookupcache(nd);
if (rp) {
Home |
Main Index |
Thread Index |
Old Index