Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4119327pxv; Mon, 19 Jul 2021 17:34:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyigHX264H0rRG1zbfIY9EGTYK9MwWTZY7Lk5UZ23M9L731m7f55I2o0ECgus1aIAKZr6l X-Received: by 2002:a02:8521:: with SMTP id g30mr24091534jai.113.1626741244142; Mon, 19 Jul 2021 17:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626741244; cv=none; d=google.com; s=arc-20160816; b=ZLs1gaR2nNwgXilX6PM3w9/FD3wxufbih2LBp/2SsTEaO2zrnG27o+7cwmn7aH5Pcp zQTqZIon6c6I62OaPBa5VMBggh95Y79WY1PAhrhB+uhDuoYpbTTNzNaFshX1178eSl/I v1eDWXFmiTT1TmsLDXDM9p/tF0JPF0505GkRvV9zd4Pn+zTyZEoxuqFQ9mdWfeoqiEV9 YfCf+tfLSs3sVDuLDXsm+oNCC923tMigTdM2Lr+/0Ha9Z1A4brgGrk6Z/umNjNpE6jNC +el4faqI0qf1sCyNfD4w+IRWeRK6GkzPGpU3CcF/b39gWdJW/XSsQY+CgTX4pI6jnRiq zyFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:references:in-reply-to:subject :cc:to:from:mime-version:content-transfer-encoding:dkim-signature :dkim-signature; bh=2e30UxNRYI81qzFHTtrwJ5lwISEqhM5uW8QAmbxdFV8=; b=RcU25nUMPhgmZ1LMW8HCQkkexcTNeTFmsL/sAawroHtFJn2R0DXoMUiy6dte6N04l8 OmkPuW4CnOMn+HicjHv+IeRNvVJEk/YpRDILjTtmiGq8LFGcWSKzXeA+T70e0ntjGPdS 35iatKe4WIgtSvS+d77ke3jmYahKBsZxHrXNUWcXE9gGw8SvqhZSdTnxhndqiC8fypz3 rlBqWYQpwA8vvgW6UK86ZBS5mqHZBMAnkXdAOnJNY1Cnto8YylHgrC+PKVBzgzfdHGp2 5ARUP623CrkqX7Npzi852JHSrYDmV6ytGSFHHJ2HMdOeuTKe6VjvSfzhY6FfJMUn4hCK EFEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=T89awzIf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 t2si20407486ilp.31.2021.07.19.17.33.51; Mon, 19 Jul 2021 17:34: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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=T89awzIf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 S235983AbhGSXwR (ORCPT + 99 others); Mon, 19 Jul 2021 19:52:17 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:34946 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243971AbhGSXOe (ORCPT ); Mon, 19 Jul 2021 19:14:34 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 9F78822238; Mon, 19 Jul 2021 23:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1626738891; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2e30UxNRYI81qzFHTtrwJ5lwISEqhM5uW8QAmbxdFV8=; b=T89awzIfzFFHwjP8S+ng7M6sirVcdMJI1lUO350U/K4A3V/Rvo1aUICYwZOK9hxSOAxGbR Yjh5F3bC5BwPWN7/YgcKNH55iEb8vRuAUCYv3Dr24/9u7iUiOd8LkcghFAgCpIpAG8q1YY UK7+rmUzk3bjyHjZ1SfvSTXQC8rgT80= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1626738891; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2e30UxNRYI81qzFHTtrwJ5lwISEqhM5uW8QAmbxdFV8=; b=Ea5DnS1JyVG2sIt78v1Ii+XDeLaV73dQWYRUXkBQLkdokH3lLP5DZu8V3OsI9r/23Aujr4 Zl56hnPTW5quthBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3AD2A13D45; Mon, 19 Jul 2021 23:54:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mo+HN8cQ9mCOGgAAMHmgww (envelope-from ); Mon, 19 Jul 2021 23:54:47 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: "NeilBrown" To: "Christoph Hellwig" Cc: "Josef Bacik" , "Christoph Hellwig" , "J. Bruce Fields" , "Chuck Lever" , "Chris Mason" , "David Sterba" , linux-nfs@vger.kernel.org, "Wang Yugui" , "Ulli Horlacher" , linux-btrfs@vger.kernel.org Subject: Re: [PATCH/RFC] NFSD: handle BTRFS subvolumes better. In-reply-to: References: <20210613115313.BC59.409509F4@e16-tech.com>, <20210310074620.GA2158@tik.uni-stuttgart.de>, <162632387205.13764.6196748476850020429@noble.neil.brown.name>, , , <28bb883d-8d14-f11a-b37f-d8e71118f87f@toxicpanda.com>, , , Date: Tue, 20 Jul 2021 09:54:44 +1000 Message-id: <162673888433.4136.7451392112850411713@noble.neil.brown.name> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, 19 Jul 2021, Christoph Hellwig wrote: > On Thu, Jul 15, 2021 at 02:01:11PM -0400, Josef Bacik wrote: > > This is not a workable solution. It's not a matter of simply tying into > > existing infrastructure, we'd have to completely rework how the VFS deals > > with this stuff in order to be reasonable. And when I brought this up to= Al > > he told me I was insane and we absolutely had to have a different SB for > > every vfsmount, which means we can't use vfsmount for this, which means we > > don't have any other options. Thanks, >=20 > Then fix the problem another way. The problem is known, old and keeps > breaking stuff. Don't paper over it, fix it.=20 Do you have any pointers to other breakage caused by this particular behaviour of btrfs? It would to have all requirements clearly on the table while designing a solution. Thanks, NeilBrown