Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp320004ybi; Tue, 18 Jun 2019 23:35:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbkac5jigp0S8T8mIT2m3hQrYUujV9xLUQCMCDlGHY+1U4t7l0ahcoQF5lwJAPQLrcXZPb X-Received: by 2002:a17:90a:19d:: with SMTP id 29mr9682997pjc.71.1560926109775; Tue, 18 Jun 2019 23:35:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560926109; cv=none; d=google.com; s=arc-20160816; b=CR5cSDDAdsPemIEzJNGvTwJx9rP4VGxTCa0nFuGiHHV6XY69RO1r0x8nd0azlD7scx HEsVzAbxU9QzcuUBQNzX8fGMyLgWAhYDDAOk/osDY0LTgrwQh2UhBUO7bwwIeA2Ba48Y J91JH667fOt2bJUxZa4CAHEvAkFGZgFeS6+X/v8SR3zq2cH2FkLah84AK80+80Fa9Aeb 2fqtb4arpKGZ7qJ9E3Sy4sUU/PS22n+Rzt1vqk7BsbdlwNoObWdCn+9cK0pzS22QP1pF MJ/nt5PEGCWvEifw3zoa2nvP5q5n21v+mjojnu5lkp2+85i/tjC9T+QlJAE97pOOiHf1 85Cg== 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:dkim-signature; bh=bMNViY4iztj4vl/Dr2F11/lbr0UeP3ZXI0/HogSeDNI=; b=FqeGR6ZQZzCcdAtgAMJEyMMNufgBANAal8dILBHn/ZFWNZ9m7v2W3RRFTCn8DhVqcz Mv6mwbClDf9F9Q7n4mcwj+jxwGy+2lJ3n3i/k9oE+mIKs6fZUCo7P9szlha70lEVNdOe KoxHKvHpBnQTjSJ3+350j2dCweJ/5j2glM/Yx12FQVp/ntKXWKwRsDByag8TF/StJn/g apFhG3GT4RmCaFj6zwflwFAshkWdb5n+Ykv11T4zZ5V8ze1Vn3SAadLOiqsXKIlpjhpx hCb23e/NuEUy102BVB8C49cILtdKtGbDE0k9qixFfvdoFfjatggd1zxoLhgwBgTQvtNS a02A== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=FctOUlat; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q7si2447605pgc.374.2019.06.18.23.34.54; Tue, 18 Jun 2019 23:35:09 -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; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=FctOUlat; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730791AbfFSGdy (ORCPT + 99 others); Wed, 19 Jun 2019 02:33:54 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:32780 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbfFSGdy (ORCPT ); Wed, 19 Jun 2019 02:33:54 -0400 Received: by mail-io1-f66.google.com with SMTP id u13so35719308iop.0 for ; Tue, 18 Jun 2019 23:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bMNViY4iztj4vl/Dr2F11/lbr0UeP3ZXI0/HogSeDNI=; b=FctOUlat3YI5lot/q4NRcZSX4MU2PW4YfhkwI9I4zkZuhPG8P69+R2Aw5jAtcJGQD6 YFAGkZncePhTyhF1iCR8y8iI+paHhWUIxu6nMZfEYjsEWK8qADgt8khRHaFctIZ9GNR9 OiYWoTA1dYyRCTz34cuaLp6oezL0oSMReABgI= 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=bMNViY4iztj4vl/Dr2F11/lbr0UeP3ZXI0/HogSeDNI=; b=Gi9T3eaueUdYCb5yj+SzCM9zExATj1MYYq+OLCGo525GeKMI0NqGAHBs3/5rBad3ii DqyY1uLRKmE920lUYFdZ0XaHeNUqKdYJuOaGXJbq0KCTiFv/6kfmnXcjoy4COWgl70nk uUH7G9V9fYIsyfw3vOjor42LokKR953O+201tXSUQHiD6BbARdubGgYf+alP+yk+Q0jD Obgz6/aoiOPsqCKP9IkSNSkw+VQe8uNQj21KpNMosFSijf2NvrhY2dYa3WjjtU82ZYdt I7jE2pYfcQi7Ucx2fuu9B1UqyLtsQYMd1g0NXS96IvX7aU5N9uAOCmO9X8UE7nt6jm26 EDQg== X-Gm-Message-State: APjAAAV+oo25Y+/KEDxQryxFRvA8SvCb3QiRiZ4wNQbFZH5Tdx427cnU MEHvuloVwyqDc2SaBik1bqZ0bZkrLRntZd3hbSCPtA== X-Received: by 2002:a6b:7e41:: with SMTP id k1mr4391132ioq.285.1560926031492; Tue, 18 Jun 2019 23:33:51 -0700 (PDT) MIME-Version: 1.0 References: <155905626142.1662.18430571708534506785.stgit@warthog.procyon.org.uk> <155905629702.1662.7233272785972036117.stgit@warthog.procyon.org.uk> <24127.1560897289@warthog.procyon.org.uk> In-Reply-To: <24127.1560897289@warthog.procyon.org.uk> From: Miklos Szeredi Date: Wed, 19 Jun 2019 08:33:40 +0200 Message-ID: Subject: Re: [PATCH 04/25] vfs: Implement parameter value retrieval with fsinfo() [ver #13] To: David Howells Cc: Al Viro , Ian Kent , Linux API , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Miklos Szeredi 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 Wed, Jun 19, 2019 at 12:34 AM David Howells wrote: > > Same goes for vfs_parse_sb_flag() btw. It should be moved into each > > filesystem's ->parse_param() and not be a mandatory thing. > > I disagree. Every filesystem *must* be able to accept these standard flags, > even if it then ignores them. "posixacl" is not a standard flag. It never was accepted by mount(8) so I don't see where you got that from. Can you explain why you think "mand", "sync", "dirsync", "lazytime" should be accepted by a filesystem such as proc? The argument that it breaks userspace is BS, because this is a new interface, hence by definition we cannot break old userspace. If mount(8) wants to use the new API and there really is breakage if these options are rejected (which I doubt) then it can easily work around that by ignoring them itself. Also why should "rw" not be rejected for filesystems which are read-only by definition, such as iso9660? Thanks, Miklos