Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4862359pxv; Tue, 27 Jul 2021 19:23:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1UV/ubrOz1Mi07EXVQPZmP+mpRHLXaz8ymkcUm0Vq7Qy/vQWzS82KjQWP1g1OSHN8g6zG X-Received: by 2002:a05:6402:5246:: with SMTP id t6mr30798130edd.205.1627438984447; Tue, 27 Jul 2021 19:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627438984; cv=none; d=google.com; s=arc-20160816; b=L3uc9pHMATd5oSN48JSpfg3ePRuQpqFPU1eAEsisYjLLVw1YbTzf2EJRNqKxhxCIv/ FJKT1F0NBHlRYX6hyhr8tf3ZZWSLKMKCJvw8ElYuDtiD1DvpA8APkjwjA+c/AZN3Yv3/ 9vVXlQj1IoMKDF5LpAEObX+adeS/QSEVaHwCFhxfiSoDB3RVODqXN1s9tFCnAeAglIFG Qg+XFL0PLceiCIXW2qQSn+5xYn5UbiR7kYFeCbLjmPXHl4psEzGUXkbJ9NNIlbBaAbKv 3FU69DPbD4CP8DOWoXG+piHbq+blOMUnHmj52cI3kX+cMObwdpWl0jk9rcgsaOTA8zS3 32Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=AkKi3WRvW8fcojp0E1iWd/32TCdR8peKrEfPp/Ttqsg=; b=czs4EL5GnKbZrLBn0yUE7yC/Q5lf4U8LdGBPykrAPbzRnntSCRMp9DZtsI/nj+DFz9 FAbIL5lVHP4jYvyRUAaXsNux2jDwg5ZgDJBSHDxCBrUI0LGkv61CkmmQ0GxXg6nE3sra +ZG74C6K3BQhvA0kWRVPXtdtRJqUODtTqZOyGnIO2qg0YEmSUApaYp6a498iolUpdeks awL5cle8qnuqC4MNOa0ZnzQYE7zTFhyT5Sw3uNLTMsftg380LsjO23zflY68cSDx8AUb OSuPDBgpgM3+monwFNw4/H/O4OT/c2UJKJ1yIuyE041p0fWZduD35qGzTk6wTT+vX/sz lNSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sd11si4589520ejb.511.2021.07.27.19.22.30; Tue, 27 Jul 2021 19:23:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233384AbhG1CVl (ORCPT + 99 others); Tue, 27 Jul 2021 22:21:41 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:40600 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233223AbhG1CVl (ORCPT ); Tue, 27 Jul 2021 22:21:41 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8ZAI-004Ws7-G9; Wed, 28 Jul 2021 02:19:22 +0000 Date: Wed, 28 Jul 2021 02:19:22 +0000 From: Al Viro To: NeilBrown Cc: Christoph Hellwig , Josef Bacik , "J. Bruce Fields" , Chuck Lever , Chris Mason , David Sterba , linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [PATCH/RFC 00/11] expose btrfs subvols in mount table correctly Message-ID: References: <162742539595.32498.13687924366155737575.stgit@noble.brown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <162742539595.32498.13687924366155737575.stgit@noble.brown> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Jul 28, 2021 at 08:37:45AM +1000, NeilBrown wrote: > We can enhance nfsd to understand that some automounts can be managed. > "internal mounts" where a filesystem provides an automount point and > mounts its own directories, can be handled differently by nfsd. > > This series addresses all these issues. After a few enhancements to the > VFS to provide needed support, they enhance exportfs and nfsd to cope > with the concept of internal mounts, and then enhance btrfs to provide > them. I'm half asleep right now; will review and reply in detail tomorrow. The first impression is that it's going to be brittle; properties of mount really should not depend upon the nature of mountpoint - too many ways for that to go wrong. Anyway, tomorrow...