linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Andy Lutomirski <luto@amacapital.net>
Cc: David Howells <dhowells@redhat.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux FS Devel <linux-fsdevel@vger.kernel.org>,
	Linux API <linux-api@vger.kernel.org>
Subject: Re: [git pull] new mount API
Date: Fri, 24 Aug 2018 01:31:05 +0100	[thread overview]
Message-ID: <20180824003105.GL6515@ZenIV.linux.org.uk> (raw)
In-Reply-To: <CALCETrUOkkxYO__=ORad9XUJcW31ork6+kzo4-QHET5WSXfgYQ@mail.gmail.com>

On Thu, Aug 23, 2018 at 05:16:53PM -0700, Andy Lutomirski wrote:
> On Thu, Aug 23, 2018 at 5:08 PM, David Howells <dhowells@redhat.com> wrote:
> > Andy Lutomirski <luto@amacapital.net> wrote:
> >
> >> Has anything been done to ensure that the behavior when doing
> >> FSCONFIG_CMD_CREATE against an already-mounted block device is
> >> reasonable?
> >
> > For the moment, I've left it as the same behaviour as for mount(2) since
> > mount(2) now uses the same mechanism internally and we aren't permitted to
> > break userspace.
> >
> > I would like to add at least one flag to stipulate that, in the case of an
> > incompatible collision, you can get a failure - but defining what is meant by
> > incompatible isn't necessarily trivial, and would vary by filesystem *and* the
> > LSM.
> >
> > However, I don't want to start reengineering everything this close to the
> > merge window and we don't really need it immediately.
> >
> 
> The problem is that, once this ends up merged, then we're kind of
> stuck with it, too.  It would be a bit sad if your better proposal for
> handling nfs and instantiation of filesystems in general were added in
> the next release and then we end up with the current
> FSCONFIG_CMD_CREATE as a permanently supported but non-preferred
> option.

For fuck sake, mount(2) is a permanently supported option!  Folks, get over it -
you are mixing entirely different issues.  You know, I know and everyone even
remotely sane knows that mount(2) *IS* *NOT* *GOING* *AWAY*.  And it's not
changing semantics either.  So bemoaning the "permanently supported non-preferred
options" is utter lunacy.  It's there and it will remain there, period.

We do not break userland.  And "their local scripts would break terribly inside
userns container" does *NOT* render those second-class in any sense.  So you
can curse the current behaviour of mount(2) and I even agree with some of that,
but we are not going to be able to remove that.  Yes, it would've been nice if,
etc., but it's not going to happen.  Not now, not for many years.

  reply	other threads:[~2018-08-24  4:03 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-23 22:31 [git pull] new mount API Al Viro
2018-08-23 23:24 ` Andy Lutomirski
2018-08-24  0:08 ` David Howells
2018-08-24  0:16   ` Andy Lutomirski
2018-08-24  0:31     ` Al Viro [this message]
2018-08-24  2:36       ` Andy Lutomirski
2018-08-24  3:13         ` Al Viro
2018-08-24  4:51           ` Andy Lutomirski
2018-08-24  6:05             ` Theodore Y. Ts'o
2018-08-24  8:38               ` Miklos Szeredi
2018-08-24  8:56                 ` Miklos Szeredi
2018-08-24  9:29                   ` Miklos Szeredi
2018-08-24  9:45               ` David Howells
2018-08-24 10:06                 ` Miklos Szeredi
2018-08-24 14:18                 ` Miklos Szeredi
2018-08-24 14:26                   ` Karel Zak
2018-08-24 14:26                 ` David Howells
2018-08-24 14:30                   ` Miklos Szeredi
2018-08-24 14:49                 ` Andy Lutomirski
2018-08-24 15:02                   ` Miklos Szeredi
2018-08-24 15:09                     ` Andy Lutomirski
2018-08-24 17:08                       ` Miklos Szeredi
2018-08-24 17:10                     ` David Howells
2018-08-24 17:43                       ` Andy Lutomirski
2018-08-24 19:25                         ` Miklos Szeredi
2018-08-24 19:51                           ` Al Viro
2018-08-29 12:32                             ` Miklos Szeredi
2018-08-26  3:22 ` Eric W. Biederman
2018-08-26 20:42 ` David Howells
2018-08-26 20:46 ` David Howells
2018-08-26 21:03 ` [PATCH] mqueue: Fix bug from mount API conversion David Howells
2018-08-26 21:22   ` Al Viro

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=20180824003105.GL6515@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=dhowells@redhat.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=torvalds@linux-foundation.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).