All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Steve Dickson <SteveD@redhat.com>
Cc: Benny Halevy <bhalevy@panasas.com>,
	NFS list <linux-nfs@vger.kernel.org>,
	pNFS Mailing List <pnfs@linux-nfs.org>
Subject: Re: [pnfs] [RFC 0/4] nfs-utils: nfsd support for minor version
Date: Fri, 17 Apr 2009 11:42:15 -0400	[thread overview]
Message-ID: <20090417154215.GD16909@fieldses.org> (raw)
In-Reply-To: <49E87798.8090308-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>

On Fri, Apr 17, 2009 at 08:35:36AM -0400, Steve Dickson wrote:
> J. Bruce Fields wrote:
> > On Thu, Apr 16, 2009 at 03:01:47PM -0400, Steve Dickson wrote:
> >> I do get your point, but as we did with the initial v4 support, 
> >> having the support on by default and then having away to turn it
> >> off is the correct approach... IMHO... 
> > 
> > I'd prefer it be off by default, for the obvious safety reasons.  (It's
> > under rapid development and particularly likely to have bugs).  The only
> > reason we had it on by default before was that we didn't add the
> > switching mechanism early enough.  (Well, and because we could keep it
> > off in the config.  But I'd rather be able to ship users a kernel that
> > supports 4.1 and give them the option of turning it on at runtime, than
> > make them build a new kernel.)
> I agree with not making people recompile kernels, which is the whole
> purpose behind the Fedora repos, but do I think you might be a bit 
> too cautious with exposing the technology. 
> 
> One, I've been running the kernels with everything enabled for a while
> now with no problems whatsoever... A few scary looking warnings now and
> then but nothing major. I also spent the majority of my time at Connectathon
> this years testing with kernel that were fully enabled. Not one problem
> WRT regression testing. Plus there is no better way to expose regression 
> problems (early on) than to enable the code.. IMHO... 
> 
> Second, its my understanding that clients have to explicitly  ask
> for 4.1 support. Are there any client out there that default to 
> 4.1 support? I would think not since there is only one client out there
> that defaults to V4.0. If there is a client that defaults to 4.1, then we 
> will a knob to turn that support off.

We can't really control what all (especially, all future) clients will
do.  Only the server can know how mature its own code is, so it's the
server's default that matters here.

There's also a greater risk of security problems with younger code, and
a vulnerable 4.1 server can be exploited without the need for a 4.1
client.

If rpc.nfsd itself is going to default to turning this on, then at the
very least I would strongly advise distributions for now to ship an
/etc/syconfig/ or /etc/defaults/ file that defaults to turning it off.

> Finally, with rpc.nfsd the precedence has already been set that we disable
> versions, not enabled them. For us to start enabling versions with rpc.nfsd
> we would have to come up with another command line flags (similar to Benny's
> patch). This means we would have one flag that enables versions and 
> another that would disable them... talk about confusion... and that's just
> not right... IMHO.... 

I agree that it's annoying to need another flag, but if that's the only
way to keep 4.1 defaulted off then on balance it's the right thing to
do.  I think it'd be OK to change the default later and remove the need
for the flag.  So only early adopters will need to know about it.

--b.

> So I say, lets stay with the precedence that was already set, enable
> the support by default but have a way to disable it... 

  parent reply	other threads:[~2009-04-17 15:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13  8:25 [RFC 0/4] nfs-utils: nfsd support for minor version Benny Halevy
2009-04-13  8:29 ` [PATCH 1/4] utils/nfsd: fix -N optarg error printout Benny Halevy
2009-04-13  8:29 ` [RFC 2/4] utils/nfsd: add support for minorvers4 Benny Halevy
2009-04-13  8:29 ` [RFC 3/4] utils/nfsd: add -n --nfs-version option Benny Halevy
2009-04-13  8:29 ` [RFC 4/4] utils/nfsd: enable/disable minorvers4 via command line Benny Halevy
2009-04-16 17:24 ` [RFC 0/4] nfs-utils: nfsd support for minor version Steve Dickson
     [not found]   ` <49E769C5.6010902-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-04-16 17:59     ` Benny Halevy
2009-04-16 18:13       ` Steve Dickson
     [not found]         ` <49E7753C.4010300-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-04-16 18:23           ` [pnfs] " J. Bruce Fields
2009-04-16 18:37             ` Benny Halevy
2009-04-16 19:01             ` Steve Dickson
     [not found]               ` <49E7809B.2020002-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-04-16 19:18                 ` J. Bruce Fields
2009-04-17 12:35                   ` Steve Dickson
     [not found]                     ` <49E87798.8090308-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-04-17 15:42                       ` J. Bruce Fields [this message]
2009-04-17 16:18                       ` Chuck Lever
2009-04-17 16:40                         ` Benny Halevy
2009-04-22 12:06 ` [PATCH 0/3] nfs-utils: nfsd support for minor version, take 2 Benny Halevy
2009-04-22 12:10   ` [PATCH 1/3] utils/nfsd: add support for minorvers4 Benny Halevy
2009-04-22 12:10   ` [PATCH 2/3] utils/nfsd: disable minorvers4 via command line Benny Halevy
2009-04-22 12:10   ` [PATCH 3/3] utils/nfsd: enable nfs minorvers4 by default Benny Halevy
2009-04-22 21:54   ` [PATCH 0/3] nfs-utils: nfsd support for minor version, take 2 J. Bruce Fields
2009-04-23  8:58     ` Benny Halevy
2009-05-18 14:49   ` Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090417154215.GD16909@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=SteveD@redhat.com \
    --cc=bhalevy@panasas.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=pnfs@linux-nfs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.