[7760] in Athena Bugs
attach default rsize/wsize for NFS
daemon@ATHENA.MIT.EDU (John Carr)
Sun Jul 21 11:09:32 1991
To: bugs@ATHENA.MIT.EDU
Date: Sun, 21 Jul 91 11:09:40 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
This change allows a default NFS read and write block size to be defined at
compile time. This will allow the attach NFS options line to be removed
from /etc/athena/attach.conf so that "attach -o" will work.
*** /source/athena/athena.bin/attach/nfs.c Mon Jul 1 09:47:21 1991
--- nfs.c Sat Jul 20 10:44:17 1991
***************
*** 54,59 ****
--- 54,67 ----
if (at->mode == 'n') {
add_options(mopt, "ro");
}
+ #ifdef DEFAULT_RSIZE
+ mopt->tsa.nfs.rsize = DEFAULT_RSIZE;
+ mopt->tsa.nfs.flags |= NFSMNT_RSIZE;
+ #endif
+ #ifdef DEFAULT_WSIZE
+ mopt->tsa.nfs.wsize = DEFAULT_WSIZE;
+ mopt->tsa.nfs.flags |= NFSMNT_WSIZE;
+ #endif
/*
* Try to figure out information about myself. Use fsname