From owner-freebsd-fs@FreeBSD.ORG Thu May 5 14:10:45 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15DD71065670 for ; Thu, 5 May 2011 14:10:45 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id B171F8FC21 for ; Thu, 5 May 2011 14:10:44 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAKauwk2DaFvO/2dsb2JhbACEUKJdtEGRL4EqhF0Ej0qOaw X-IronPort-AV: E=Sophos;i="4.64,319,1301889600"; d="scan'208";a="121340463" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 05 May 2011 09:59:25 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id E5E33793A7 for ; Thu, 5 May 2011 09:59:25 -0400 (EDT) Date: Thu, 5 May 2011 09:59:25 -0400 (EDT) From: Rick Macklem To: FreeBSD FS Message-ID: <237603556.1045829.1304603965877.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Subject: fixing NFS related sysctl naming X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 14:10:45 -0000 Hi, Right now there are separate name paths for sysctls used by the two NFS clients, which is awkward since scripts like to play with them (currently using "vfs.nfs" which is the old one). One thought I had was moving the SYSCTL()s and the global variables they manipulate into the "nfslock" modules, which is shared by both clients, so that changing "vfs.nfs.xxx" will affect both NFS clients concurrently. How does this idea sound? Any other suggestions on how to best deal with this? Thanks in advance for any comment, rick