Date: Tue, 27 Jan 2009 18:19:50 +0200 From: Jaakko Heinonen <jh@saunalahti.fi> To: freebsd-current@FreeBSD.org Subject: [patch] nfs attribute cache mount options broken on CURRENT Message-ID: <20090127161950.GA3504@a91-153-125-115.elisa-laajakaista.fi>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090127161950.GA3504>