From 0abec5d2179b6295a160e7b4774c705cf8e92f12 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 25 Mar 2001 02:22:30 +0000 Subject: [PATCH] Allow the default NFS_RSIZE and NFS_WSIZE to be overriden. --- sys/nfs/nfs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h index aacd7e98e28a..b4acf42760c6 100644 --- a/sys/nfs/nfs.h +++ b/sys/nfs/nfs.h @@ -1,4 +1,4 @@ -/* $NetBSD: nfs.h,v 1.25 2000/11/27 08:39:48 chs Exp $ */ +/* $NetBSD: nfs.h,v 1.26 2001/03/25 02:22:30 matt Exp $ */ /* * Copyright (c) 1989, 1993, 1995 * The Regents of the University of California. All rights reserved. @@ -61,8 +61,12 @@ #ifndef NFS_MAXATTRTIMO #define NFS_MAXATTRTIMO 60 #endif +#ifndef NFS_WSIZE #define NFS_WSIZE 32768 /* Def. write data size */ +#endif +#ifndef NFS_RSIZE #define NFS_RSIZE 32768 /* Def. read data size */ +#endif #define NFS_READDIRSIZE 8192 /* Def. readdir size */ #define NFS_DEFRAHEAD 2 /* Def. read ahead # blocks */ #define NFS_MAXRAHEAD 4 /* Max. read ahead # blocks */