[patch] nfs attribute cache mount options broken on CURRENT

From: Jaakko Heinonen <jh_at_saunalahti.fi>
Date: Tue, 27 Jan 2009 18:19:50 +0200
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
Received on Tue Jan 27 2009 - 15:19:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC