Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1189411imd; Thu, 1 Nov 2018 11:34:41 -0700 (PDT) X-Google-Smtp-Source: AJdET5eE37T+FeCLRxX0XmnN+Da7a331ATWx6VsGtCpkOAAFkx4/dTfASCPjUaevPpabLFCOi2WG X-Received: by 2002:a63:3204:: with SMTP id y4mr8096444pgy.41.1541097281355; Thu, 01 Nov 2018 11:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541097281; cv=none; d=google.com; s=arc-20160816; b=q/u0a37q5g57d/+QaZiF+c311/6UbJ+ZJaxpQtu6KMLsCz05W/bU85D687X2lsFco5 gqdssQi+5vkswX0ZcR3/Boe04ECMGwq1C5Nvi1LjgjGL7zDnZMHxIYpPS+MqJM0en8ja guyHqk4+IMfW5qmy6gEpF8e2lMyXqv/Uc5qjlr/vjcZzjnfnyLSD4JyfImvEcU5jdgji aTlRE6Ip/iori4kBNz6yFF7NbFHO+S9edljMRnRe3c6A3CniAuKJlLzlLUys9eV2wI0K hVZ+eQyq16/887jAP/AWMVQYUFLrmdUczT3LUsIMVbIAttM8pNAVj0wggpJa06IX7cXn s/aA== 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=NgZN2fOHhdE1HktUMGbNX9SDpKkmsiImhMyZAsfux3E=; b=vBOFIaviHsmjgVrrzr4mJmNkePQV3PMjGSykQKKkSvlwAuxr//rKi34VgLGhYNq2Jl Q+HToSVVlE2Do+/lMTMOvYYMyc3s2h6aw9JL30T2SRLh8h7Lu7hdnztLiwwHLtNYoZud gdqk9eWyrNt049ZBJeRn52mOZrQ971VeGumkI9ca3qgyNwf8LJr17jQmwvKINowlvKN4 iFFab9U7VE2R7oAsuVdU//Hw68l4Y/jjftgRzGaasx+WX+ngSpkmnJ59wzSE5JJgnpsf F1xOgymjJy5y4H/fDyCNMMIqcbUOoFJJNkOZpV6Bz3XmoCkW2zpG5zi+v+LkF/C4FVaT 5y1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=fnDfbY9q; 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 i69si4340391pgc.538.2018.11.01.11.34.26; Thu, 01 Nov 2018 11:34:41 -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=pass header.i=@linux-foundation.org header.s=google header.b=fnDfbY9q; 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 S1727579AbeKBDh6 (ORCPT + 99 others); Thu, 1 Nov 2018 23:37:58 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:39967 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726322AbeKBDh6 (ORCPT ); Thu, 1 Nov 2018 23:37:58 -0400 Received: by mail-lj1-f194.google.com with SMTP id t22-v6so18936888lji.7 for ; Thu, 01 Nov 2018 11:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NgZN2fOHhdE1HktUMGbNX9SDpKkmsiImhMyZAsfux3E=; b=fnDfbY9qaEgLbS2VnwRwSdwcGPPYVk3xYV4RtesuJZmdQQJ0Ov6Zh2qeBEp5gasPfc c7uVVwptE7b5S3emA+8syVoFh2N/2TXJbtAcTlSMGx83asjLzZ9drssjZC7RxTBaV9lV m4gBmgl7j7ttMEs0AS2UCmCOn3U3tykrgLD5w= 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=NgZN2fOHhdE1HktUMGbNX9SDpKkmsiImhMyZAsfux3E=; b=JZbxWvFVDz1FIYPTyZb63RBqs1plpEEtWZ0Eq4tB8x7CTf/0bWVadjpT7FjTsJg8m6 h5Ah9cabnevFoCVzGJMzsFyta8cMW+NK5Z4jUoNGlcEoxmhppFEFBLx/Okp1aXDc7L+1 sIGJI3WW3FWvHb9H4gj8ciuw5LYpzmm7l7AE/hkvAmuK1BYtk2HLjIrxGPEYS2IvP89t wvhJ5CTPyfIhJjkIGpy/qKppEVhrgn6vff39TqBJqrpXrqPU8v8Vnza9pcbLVSuAwldw B59P8/HLNtZwHn41d/BVxmXD6ypTb02CrmhzYmICfWU2MVnuL0lHWCVGrsnPkRE17MkE yuww== X-Gm-Message-State: AGRZ1gIZi0/gs103OC6EUsb4TgZ9ZP4NXf2KW/h9G1FWvWxI7nozdQ2X tA3b+f6fm2ScFYCpHXpcvUORSzhiotb+Ow== X-Received: by 2002:a2e:3603:: with SMTP id d3-v6mr5519988lja.108.1541097229407; Thu, 01 Nov 2018 11:33:49 -0700 (PDT) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com. [209.85.208.175]) by smtp.gmail.com with ESMTPSA id a18-v6sm1600838ljk.86.2018.11.01.11.33.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 11:33:48 -0700 (PDT) Received: by mail-lj1-f175.google.com with SMTP id f3-v6so18938255ljk.9 for ; Thu, 01 Nov 2018 11:33:48 -0700 (PDT) X-Received: by 2002:a2e:9819:: with SMTP id a25-v6mr6099315ljj.6.1541097227764; Thu, 01 Nov 2018 11:33:47 -0700 (PDT) MIME-Version: 1.0 References: <20181031053355.GQ32577@ZenIV.linux.org.uk> <28156.1541092687@warthog.procyon.org.uk> In-Reply-To: <28156.1541092687@warthog.procyon.org.uk> From: Linus Torvalds Date: Thu, 1 Nov 2018 11:33:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [git pull] mount API series To: dhowells@redhat.com Cc: swhiteho@redhat.com, john.johansen@canonical.com, alan.christopher.jenkins@gmail.com, Al Viro , ebiederm@redhat.com, linux-fsdevel@vger.kernel.org, Linux Kernel Mailing List 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, Nov 1, 2018 at 10:18 AM David Howells wrote: > > No. What we have upstream now is most definitely *not* atomic. That said, > some of the steps of the sequence are atomic in their own right: It's more that what we have traditionally is atomic wrt user space. Use space does *one* indivisible operation. There's no way for user-space to do a half-way mount and say "ok, that's it, I'll just exit now" (or skip a phase and fool the kernel into handling a half-way setup issue). So the new model does require a bit more care in tear-down etc. I'm not so worried about this, actually, but it *is* different. Afaik, some of the bugs were exactly in this half-way state bits. [ And yes, looking back at some the reports I found, it was Alan Jenkins and mainly the open-tree thing. ] > Would you be willing to take just the *internal* fs_context changes and leave > the UAPI for the next window? Hmm. I had to think about that, but the more I thought about it, the more I liked it. Yes. Depending on how that is done, that would make a lot of my worries go away. *Particularly* if it then allows us to do the per-filesystem conversion one by one. So if the patch series can be split up into a prep-phase that doesn't change any user-visible semantics (including the security side), but that uses the fs_context internally and allows the filesystems to be converted to the new world order, than that would make merging the early work much easier (and then my worry about the later phases would probably be much less too). It would be _really_ nice to see that prep-phase be done in a way where each individual patch very obviously doesn't change semantics. If it's obvious, then I'm happy to consider that pure prep-work and willing to merge it after the merge window in order to make the _next_ merge window easier. Al - can I ask you to look at helping David with something like that? You tend to be very good at generating those patch-series with "obviously no changes" for the individual patches, but the end result ends up being totally different from the starting point (I'm thinking of all the locking and dentry refcounting series). Linus