Return-Path: linux-nfs-owner@vger.kernel.org Received: from fieldses.org ([174.143.236.118]:45180 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756830Ab3CSOug (ORCPT ); Tue, 19 Mar 2013 10:50:36 -0400 Date: Tue, 19 Mar 2013 10:50:35 -0400 From: "J. Bruce Fields" To: "Myklebust, Trond" Cc: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 10/11] NFSv4.1: Enable open-by-filehandle Message-ID: <20130319145035.GE7912@fieldses.org> References: <1363698463-3681-5-git-send-email-Trond.Myklebust@netapp.com> <1363698463-3681-6-git-send-email-Trond.Myklebust@netapp.com> <1363698463-3681-7-git-send-email-Trond.Myklebust@netapp.com> <1363698463-3681-8-git-send-email-Trond.Myklebust@netapp.com> <1363698463-3681-9-git-send-email-Trond.Myklebust@netapp.com> <1363698463-3681-10-git-send-email-Trond.Myklebust@netapp.com> <20130319140901.GB7912@fieldses.org> <1363702570.7515.6.camel@leira.trondhjem.org> <20130319143236.GD7912@fieldses.org> <1363704100.7515.12.camel@leira.trondhjem.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1363704100.7515.12.camel@leira.trondhjem.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, Mar 19, 2013 at 02:41:42PM +0000, Myklebust, Trond wrote: > On Tue, 2013-03-19 at 10:32 -0400, J. Bruce Fields wrote: > > (Sorry for the digression, I was just trying to decide whether I can get > > away with turning on 4.1 by default before implementing SP4_MACH_CRED or > > GSS on the backchannel....) > > If you don't, could you please at least offer up a module parameter that > allows me to do that? The current thing is a PITA, since it isn't > supported by any distro scripts, and it requires you to switch off the > server in order to change the version pseudofile contents. The module parameter on its own wouldn't help with that. We could probably fix the pseudofile interface to allow changing the version on the fly. My vague plan was to teach rpc.nfsd to read this (and other parameters) from a config file, so then it'd be "vi /etc/nfsd && service nfsd restart" or equivalent. So is the main thing you want a more convenient interface or a way to change it without rebooting? --b.