Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1417916

Re: [PATCH] Fix NFS option parsing bit-rot.

Path csiph.com!goblin2!goblin.stu.neva.ru!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Rob Landley <rob@landley.net>
Newsgroups linux.kernel
Subject Re: [PATCH] Fix NFS option parsing bit-rot.
Date Thu, 09 Jun 2016 00:00:01 +0200
Message-ID <rHTG1-5FE-9@gated-at.bofh.it> (permalink)
References <rHbEZ-2Gd-1@gated-at.bofh.it> <rHcB3-3jH-1@gated-at.bofh.it> <rHREe-4nR-39@gated-at.bofh.it> <rHSqC-4VQ-27@gated-at.bofh.it>
X-Original-To Trond Myklebust <trondmy@primarydata.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Anna Schumaker <anna.schumaker@netapp.com>, "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=JgCPL6PuOiURL0vKjXHsvWvSQ+TCQpYe/FUpYukw0gE=; b=AD1GMgygkaeGV9V45gjr7s7dwWBoAHn2jheYJ8SIzPcHIpo+ROSuFR8Liv007Kwy3f scRlxyGwU1A//dZJI6FiQOQuTNNgwqTzOMg/secxheM9V5LplCtg0Vvt56yDyzanQHLJ 2UHarPmmF1qmr8jg90CFrXlMyDQe5mz6nOoFLKNOs+5mUOcWMv2h9gMJFmXBXktRvX+I AsZdrk7+tj2nheXfGSG6GEDCLBvvv8ftzb+/70nZj6MJ5I+DbTdBXFklMV7l+EJI4uAp TAFPW/d5fQy4q60UP8c/aarvtiVuifo7mMbUcpEOOC4HgP6/8Os2Bjx8tbteEryZpgf3 nB5w==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=JgCPL6PuOiURL0vKjXHsvWvSQ+TCQpYe/FUpYukw0gE=; b=RcQFNULvoDMmonHyHpU2+k+/7KwIDPfg80OJ16vY1IRjlOrxXqzPg/ZB2I0Jnmlhao ZhIjnitSQJPjKIHdu91/AvLh61d49/dr0kOocmOlMX7I98ws2AsNmyjgt0ojkFtir3vz wcMT96Ceiwh5hUf7+HxW9t8iDKW/L0MR1OMOP9Hl8DqcNqx1d7QSrwF84sQaJhHWjMfI 5BPgDZFj0x0yYYCuGmVLGB/59aOtmEDbbmgieTsYnbdmlpvBj1YW++rIAq0J+y5FnkSw CBXfvYFKBgnUqdHHUgS8z+LfqIO5Pb8+xvdVSw1GRT152a6dTUxQgAO2JG9ni/Rmxbn3 ARuA==
X-Gm-Message-State ALyK8tJCnWof5Si7KyB1xubpaC1d4ntbVq1+NEnRe+/tjSwy9Dw0Two5y6x+KCA294InMw==
X-Received by 10.202.231.196 with SMTP id e187mr3601053oih.160.1465422684287; Wed, 08 Jun 2016 14:51:24 -0700 (PDT)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 16
Organization linux.* mail to news gateway
X-Original-Date Wed, 8 Jun 2016 16:51:21 -0500
X-Original-Message-ID <57589359.5020507@landley.net>
X-Original-References <57560021.5030708@landley.net> <B4B27507-DD34-49D0-9BE9-01C9DA1A86FA@primarydata.com> <575874E5.3070809@landley.net> <615FD41F-9C7D-4BAA-8BC5-D1F3CA115A8E@primarydata.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1417916

Show key headers only | View raw


On 06/08/2016 03:35 PM, Trond Myklebust wrote:
> 
> 
> On 6/8/16, 15:41, "Rob Landley" <rob@landley.net> wrote:
>>So addr= is at _best_ redundant. You MUST supply host:/ always,
>>the current code just wasn't using it.
> 
> That’s because you just happen to be supplying an IP address instead of
> a hostname. The kernel has no DNS resolving functionality. It cannot
> resolve hostnames into IP addresses without help either by the caller or
> by means of an upcall. That is why ‘addr=’ has been a mandatory
> parameter ever since we introduced the text based parser.

Then why is host: mandatory in the dev name?

Rob

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Fix NFS option parsing bit-rot. Rob Landley <rob@landley.net> - 2016-06-07 01:00 +0200
  Re: [PATCH] Fix NFS option parsing bit-rot. Trond Myklebust <trondmy@primarydata.com> - 2016-06-07 02:00 +0200
    Re: [PATCH] Fix NFS option parsing bit-rot. Rob Landley <rob@landley.net> - 2016-06-08 21:50 +0200
      Re: [PATCH] Fix NFS option parsing bit-rot. Trond Myklebust <trondmy@primarydata.com> - 2016-06-08 22:40 +0200
        Re: [PATCH] Fix NFS option parsing bit-rot. Rob Landley <rob@landley.net> - 2016-06-09 00:00 +0200

csiph-web