Date: Sun, 10 Oct 2010 11:40:03 GMT From: Jaakko Heinonen <jh@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/151321: mount_nfs won't recognize readahead Message-ID: <201010101140.o9ABe3K3039092@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/151321; it has been noted by GNATS. From: Jaakko Heinonen <jh@FreeBSD.org> To: Simon Walton <simonw@matteworld.com> Cc: bug-followup@FreeBSD.org Subject: Re: bin/151321: mount_nfs won't recognize readahead Date: Sun, 10 Oct 2010 14:35:20 +0300 Hi, On 2010-10-08, Simon Walton wrote: > mongo# mount_nfs -a 2 m-6:/mnt/dodo /cdrom > -a deprecated, use -o readhead=<value> > mount_nfs: /cdrom, mount option <readahead> is unknown: Invalid argument > mongo# mount_nfs -o readahead=2 m-6:/mnt/dodo /cdrom > mount_nfs: /cdrom, mount option <readahead> is unknown: Invalid argument > mongo# mount_nfs -o readhead=2 m-6:/mnt/dodo /cdrom > mount_nfs: /cdrom, mount option <readhead> is unknown: Invalid argument > > The mount operation is unsuccessful in all cases. Could you try this patch? %%% Index: sys/nfsclient/nfs_vfsops.c =================================================================== --- sys/nfsclient/nfs_vfsops.c (revision 213666) +++ sys/nfsclient/nfs_vfsops.c (working copy) @@ -777,10 +777,10 @@ static const char *nfs_opts[] = { "from" "noatime", "noexec", "suiddir", "nosuid", "nosymfollow", "union", "noclusterr", "noclusterw", "multilabel", "acls", "force", "update", "async", "dumbtimer", "noconn", "nolockd", "intr", "rdirplus", "resvport", - "readdirsize", "soft", "hard", "mntudp", "tcp", "udp", "wsize", "rsize", - "retrans", "acregmin", "acregmax", "acdirmin", "acdirmax", - "deadthresh", "hostname", "timeout", "addr", "fh", "nfsv3", "sec", - "maxgroups", "principal", "negnametimeo", + "readdirsize", "readahead", "soft", "hard", "mntudp", "tcp", "udp", + "wsize", "rsize", "retrans", "acregmin", "acregmax", "acdirmin", + "acdirmax", "deadthresh", "hostname", "timeout", "addr", "fh", + "nfsv3", "sec", "maxgroups", "principal", "negnametimeo", NULL }; /* %%% -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010101140.o9ABe3K3039092>