[klibc] [PATCH] use reliable nfs mount options per default
Olaf Hering
olh at suse.de
Fri Aug 20 16:34:16 PDT 2004
On Thu, Aug 19, H. Peter Anvin wrote:
> Olaf Hering wrote:
> >
> >--- nfsmount/main.c~ 2004-02-12 03:19:14.000000000 +0100
> >+++ nfsmount/main.c 2004-05-27 13:31:19.000000000 +0200
> >@@ -20,9 +20,9 @@ static char *progname;
> >
> > static struct nfs_mount_data mount_data = {
> > .version = NFS_MOUNT_VERSION,
> >- .flags = NFS_MOUNT_NONLM,
> >- .rsize = 1024,
> >- .wsize = 1024,
> >+ .flags = NFS_MOUNT_NONLM | NFS_MOUNT_VER3 | NFS_MOUNT_TCP,
> >+ .rsize = 8192,
> >+ .wsize = 8192,
> > .timeo = 7,
> > .retrans = 3,
> > .acregmin = 3,
> >
>
> Actually, would 32K be better (seems to be the default for v3?)
Olaf Kirch suggested to set it to 0 and let the server specify the
desired size. But that doesnt work for me, I get only 4k. Have to
investigate why.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
More information about the klibc
mailing list