[patch] nfs attribute cache mount options broken on CURRENT
Jaakko Heinonen
jh at saunalahti.fi
Tue Jan 27 08:19:55 PST 2009
Hi,
nfs mount options acregmin, acregmax, acdirmin and acdirmax are broken
on CURRENT (unless you use an old mount_nfs binary which passes options
differently).
The problem is that nfs_mount() (in sys/nfsclient/nfs_vfsops.c) doesn't
set flags for those options when they are passed as string options. Also
the new code doesn't allow setting the options to 0 which is needed to
disable the attribute cache.
This patch should fix the problem:
http://www.saunalahti.fi/~jh3/patches/nfs-ac-mountopts.diff
--
Jaakko
More information about the freebsd-current
mailing list