Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2165112ybd; Mon, 24 Jun 2019 01:47:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhCoDxpqBxdUIT50aO6VhGyNf5ZyfcNXL5UUYSN5fQkXy6ssBMzXB1oyLkZcWq3Q9i7KBq X-Received: by 2002:a17:90a:b78b:: with SMTP id m11mr23895702pjr.106.1561366044956; Mon, 24 Jun 2019 01:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561366044; cv=none; d=google.com; s=arc-20160816; b=jgwVVLV4xcGkb3gG2Vi+NxpY/GBHz+NUyccWhgPq0v3D6iTYSuGSgaHb1zT0ett1ac GKWBbp1SUvbEk2IOZkn3Qq+tUwthA+xpizWhAy+evexW0IeOeSXmEUscN0azE5LZv0fH ++nI4SSE1qkwmSnS0bgzaHENaPAO8HVFOqTpwt+C9qw1LiqHzkPyRMBf74T/qIKsneWd izFDqJsKozaHWV5iIyQnLkkbksUdzi7+1i5DArIFT6oduWrkwYUddAYTAhTOlXipBOfi Wzjjh7BtHLCH3BmSOKIXq4jMkjXUnKh6/rhZWfJE+6+tiUdffHgATE+2Fe13bF83Twnw CBUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=kfyERo/qbyCrZtACfmY6e7oEdMDreZL5930Ld8MdyWA=; b=UflJWZ9pB1PdKz/jpYGCtLmmKtoHA4YJ4Bc/tEfEQ4VWx9OjEdLwdxqtwaWxwMFPbw NYvNGLsYswG+5n5r+yXvglv+2dYu7p3xL2teuE5t+iPWlrnp1T/LxVf8W0+Pw71+tIix KC5yw/tZlU2i+jNsQhiWOu8w9cWNhtwJ+7EpKBMn8XJd6k9no4qS8UXMYhUQslSJDH8K 5JJKMWTdGA6MIkTZG9WP5Vd1UvSJho9hLQss6RIG7E9dnQD687c2//QnU3y4M6UkxaeL G2nmqsrGqnd79GmkQbaNuw4QiF62ki6nsKZSntW5TBcI6O16lOhSljVGq9AeAD6fGTNT wqkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ci5si9734115plb.45.2019.06.24.01.47.09; Mon, 24 Jun 2019 01:47:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727944AbfFXI0C (ORCPT + 99 others); Mon, 24 Jun 2019 04:26:02 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:37635 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726223AbfFXI0B (ORCPT ); Mon, 24 Jun 2019 04:26:01 -0400 Received: by mail-io1-f67.google.com with SMTP id e5so733916iok.4 for ; Mon, 24 Jun 2019 01:26:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kfyERo/qbyCrZtACfmY6e7oEdMDreZL5930Ld8MdyWA=; b=gyW61FIpTDEeaIXO/6rIe8yxFB7luXiRUEl9CPYNxIqCKMxblktl/j8IKH8bMH0tag 4x4Tcwn3BYlwFbAIj0R4DVntDq0yRWjRjDM3N/nidSdJBkS3ToDoK5Bd5uL0XiKCwNci sVblZxv5OcT1Um6QKAATeMHhuU9KvNuZxlZVq+c4k9nRYpjR33B8Oo6NG+2hxwRObxnS 7dYqq4o8HthkHPLm5bplshqMJU0F9k/OaNCGWnnyhXrCr1rJ615xNpqnVE6XAlzwiHRQ rut5WIZQPusbEzc7+uHJa5zao9boJVS4bFG/Q68nKXETSMs0IUImbhhqJE7cM9nteb+K F2Og== X-Gm-Message-State: APjAAAUSi/4FQrhlsqV7uwgNnkunA4CTLih9s0uZV7LiZq3KMuFP3qAn xhnO89SkYRsA4paVhyvs470AdjOuFKT42RisWkDdLXmH X-Received: by 2002:a5d:9c46:: with SMTP id 6mr8555199iof.6.1561364760754; Mon, 24 Jun 2019 01:26:00 -0700 (PDT) MIME-Version: 1.0 References: <20190619123019.30032-1-mszeredi@redhat.com> <20190619123019.30032-5-mszeredi@redhat.com> <1ea8ec52ce19499f021510b5c9e38be8d8ebe38f.camel@themaw.net> In-Reply-To: <1ea8ec52ce19499f021510b5c9e38be8d8ebe38f.camel@themaw.net> From: Miklos Szeredi Date: Mon, 24 Jun 2019 10:25:49 +0200 Message-ID: Subject: Re: [PATCH 05/13] vfs: don't parse "silent" option To: Ian Kent Cc: David Howells , Al Viro , Linux API , linux-fsdevel , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 20, 2019 at 6:40 AM Ian Kent wrote: > > On Wed, 2019-06-19 at 14:30 +0200, Miklos Szeredi wrote: > > While this is a standard option as documented in mount(8), it is ignored by > > most filesystems. So reject, unless filesystem explicitly wants to handle > > it. > > > > The exception is unconverted filesystems, where it is unknown if the > > filesystem handles this or not. > > > > Any implementation, such as mount(8) that needs to parse this option > > without failing should simply ignore the return value from fsconfig(). > > In theory this is fine but every time someone has attempted > to change the handling of this in the past autofs has had > problems so I'm a bit wary of the change. > > It was originally meant to tell the file system to ignore > invalid options such as could be found in automount maps that > are used with multiple OS implementations that have differences > in their options. > > That was, IIRC, primarily NFS although NFS should handle most > (if not all of those) cases these days. > > Nevertheless I'm a bit nervous about it, ;) What I'm saying is that with a new interface the rules need not follow the rules of the old interface, because at the start no one is using the new interface, so no chance of breaking anything. Yes, there's a chance of making the interface difficult to use, but I don't think this is one of those things. For one, "silent" should not be needed on the new interface at all, because error messages relating to the setup of the filesystem can be redirected to a log buffer dedicated to the setup instance, effectively enabling silent operation by default. Thanks., Miklos