Deleted Added
full compact
nfsargs.h (1817) nfsargs.h (1828)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs.h 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs.h 8.1 (Berkeley) 6/10/93
37 * $Id$
37 * $Id: nfs.h,v 1.2 1994/08/02 07:52:04 davidg Exp $
38 */
39
40/*
41 * Tunable constants for nfs
42 */
43
44#define NFS_MAXIOVEC 34
45#define NFS_HZ 25 /* Ticks per second for NFS timeouts */
46#define NFS_TIMEO (1*NFS_HZ) /* Default timeout = 1 second */
47#define NFS_MINTIMEO (1*NFS_HZ) /* Min timeout to use */
48#define NFS_MAXTIMEO (60*NFS_HZ) /* Max timeout to backoff to */
49#define NFS_MINIDEMTIMEO (5*NFS_HZ) /* Min timeout for non-idempotent ops*/
50#define NFS_MAXREXMIT 100 /* Stop counting after this many */
51#define NFS_MAXWINDOW 1024 /* Max number of outstanding requests */
52#define NFS_RETRANS 10 /* Num of retrans for soft mounts */
53#define NFS_MAXGRPS 16 /* Max. size of groups list */
38 */
39
40/*
41 * Tunable constants for nfs
42 */
43
44#define NFS_MAXIOVEC 34
45#define NFS_HZ 25 /* Ticks per second for NFS timeouts */
46#define NFS_TIMEO (1*NFS_HZ) /* Default timeout = 1 second */
47#define NFS_MINTIMEO (1*NFS_HZ) /* Min timeout to use */
48#define NFS_MAXTIMEO (60*NFS_HZ) /* Max timeout to backoff to */
49#define NFS_MINIDEMTIMEO (5*NFS_HZ) /* Min timeout for non-idempotent ops*/
50#define NFS_MAXREXMIT 100 /* Stop counting after this many */
51#define NFS_MAXWINDOW 1024 /* Max number of outstanding requests */
52#define NFS_RETRANS 10 /* Num of retrans for soft mounts */
53#define NFS_MAXGRPS 16 /* Max. size of groups list */
54#ifndef NFS_MINATTRTIMO
54#define NFS_MINATTRTIMO 5 /* Attribute cache timeout in sec */
55#define NFS_MINATTRTIMO 5 /* Attribute cache timeout in sec */
56#endif
57#ifndef NFS_MAXATTRTIMO
55#define NFS_MAXATTRTIMO 60
58#define NFS_MAXATTRTIMO 60
59#endif
56#define NFS_WSIZE 8192 /* Def. write data size <= 8192 */
57#define NFS_RSIZE 8192 /* Def. read data size <= 8192 */
58#define NFS_DEFRAHEAD 1 /* Def. read ahead # blocks */
59#define NFS_MAXRAHEAD 4 /* Max. read ahead # blocks */
60#define NFS_MAXREADDIR NFS_MAXDATA /* Max. size of directory read */
61#define NFS_MAXUIDHASH 64 /* Max. # of hashed uid entries/mp */
62#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runable */
63#define NFS_DIRBLKSIZ 1024 /* Size of an NFS directory block */

--- 235 unchanged lines hidden ---
60#define NFS_WSIZE 8192 /* Def. write data size <= 8192 */
61#define NFS_RSIZE 8192 /* Def. read data size <= 8192 */
62#define NFS_DEFRAHEAD 1 /* Def. read ahead # blocks */
63#define NFS_MAXRAHEAD 4 /* Max. read ahead # blocks */
64#define NFS_MAXREADDIR NFS_MAXDATA /* Max. size of directory read */
65#define NFS_MAXUIDHASH 64 /* Max. # of hashed uid entries/mp */
66#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runable */
67#define NFS_DIRBLKSIZ 1024 /* Size of an NFS directory block */

--- 235 unchanged lines hidden ---