From: Bryan Schumaker <bjschuma@netapp.com>
To: "Adamson, Dros" <Weston.Adamson@netapp.com>
Cc: "Schumaker, Bryan" <Bryan.Schumaker@netapp.com>,
Boaz Harrosh <bharrosh@panasas.com>,
"Myklebust, Trond" <Trond.Myklebust@netapp.com>,
"<linux-nfs@vger.kernel.org>" <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 1/2] NFS: dont allow minorversion= opt when vers != 4
Date: Thu, 02 Feb 2012 14:00:40 -0500 [thread overview]
Message-ID: <4F2ADD58.9080000@netapp.com> (raw)
In-Reply-To: <F797D932-12F4-4063-B46D-0410385A911F@netapp.com>
On 02/02/12 12:03, Adamson, Dros wrote:
>
> On Feb 2, 2012, at 8:51 AM, Bryan Schumaker wrote:
>
>> On 02/01/12 18:07, Adamson, Dros wrote:
>>
>>> On Feb 1, 2012, at 5:44 PM, Boaz Harrosh wrote:
>>>
>>>> On 02/01/2012 09:06 PM, Weston Andros Adamson wrote:
>>>>> Don't allow invalid 'vers' and 'minorversion' combinations in mount options,
>>>>> such as "vers=3,minorversion=1".
>>>>>
>>>>
>>>> Just my $0.017 I don't see the point in this.
>>>>
>>>> If vers==3 then minorversion is ignored, just like today.
>>>> What kind of extra protection does it buy us?
>>>
>>> No, minorversion is not ignored when vers=3.
>>
>>
>> But after mounting, does setting vers=3, minorversion=1 cause any change in NFS v3 behavior?
>>
>
> No it doesn't. Past the parsing of options, minorversion is ignored for versions other than 4.
>
> I just don't understand how anyone can have problem with this patch. Why would we want to validate minorversion in some cases, but not all cases? How would this patch be a bad thing?
>
I don't have a problem with the patch, it makes sense that we shouldn't confuse developers or users. I was just curious if there was a spot where we had "if minor_version == 1: do_something()" without checking for major_version == 4.
- Bryan
> It's about usability -- if this can confuse NFS developers, how are end users going to handle it?
>
> -dros
next prev parent reply other threads:[~2012-02-02 19:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 19:06 [PATCH 1/2] NFS: dont allow minorversion= opt when vers != 4 Weston Andros Adamson
2012-02-01 22:44 ` Boaz Harrosh
2012-02-01 23:07 ` Adamson, Dros
2012-02-02 13:51 ` Bryan Schumaker
2012-02-02 17:03 ` Adamson, Dros
2012-02-02 19:00 ` Bryan Schumaker [this message]
2012-02-02 20:14 ` Adamson, Dros
-- strict thread matches above, loose matches on Subject: below --
2012-02-01 19:00 Weston Andros Adamson
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=4F2ADD58.9080000@netapp.com \
--to=bjschuma@netapp.com \
--cc=Bryan.Schumaker@netapp.com \
--cc=Trond.Myklebust@netapp.com \
--cc=Weston.Adamson@netapp.com \
--cc=bharrosh@panasas.com \
--cc=linux-nfs@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).