Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6688849pxv; Thu, 29 Jul 2021 23:09:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8m6RpOGiTXHzsnUvL9qs+bjtnPZSGDyz0w0lY99uPN7nG3thCq5Qrhh9aT4+8PjHxsn01 X-Received: by 2002:a5e:8d03:: with SMTP id m3mr1107181ioj.200.1627625371546; Thu, 29 Jul 2021 23:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627625371; cv=none; d=google.com; s=arc-20160816; b=mfFE09FX0ItKBOk2VA+JuL7j0uIU4nq04zKk/IkSK4lNTQ/5Dmqu+N0c/pEbpMIi8Z EL+AzRFW5YYxffLmcw5EqqXYFskf9PeW07blvvhgLyTJwVlE0WPYePp8BEaMWk2dT67w biBJpsgVFSIbtyiQBJxL/XwyW3g86X8WKgryZpzRgUNjnmX0JLx5E8UaiITeJEq7Q7rl 1HGGu72zyns/b98l4rNPdc0nlVi+wo8tUmwMYNx6dIMM5v1KdKZ5ImwCwENdteMQN8wv YQeoaIsRX8IhA/ndPMG3UgVKYBMMalt2vFMZCfaDoXoujpDDBOms27jtUeQuhcrKYeFE TnqA== 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=yJ1yHepxiXGKkkLe9+dCqnP+TH4u121Dr/zgR8/UQ4o=; b=N3sGQmz21vjH1XAF4Yz4JnQ2MwfGybJrvMiCjuNXQxQx5P1XlEA/sQmmG3j++zL4xO MG3Kd20aQ9wgZm4KATVXMn1OfolhiuO8X3x44NvJecay9wEjOHlTbjnTVELI33LhZMzC VOitJ2omr8xMkgN4MuTcQeMhbP3bSdNclRhyMAvazz9Ev6Te8NONCTlSooY8KcgUfKfu 7CfpTACBbwheMSy39IMc4JYIVIGyaeQUEVFOmXD2m+c3Jei+AHCX+9C1gVnxfwVFwnLc X+3gGDmtsg7VbwXXlzB+7atlj0Qcsi0V/kqjXmw3lQLOWtiUEGwWXDzWXtiDfa2QUEk5 P3qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=llbq3B68; dkim=neutral (no key) header.i=@suse.de; 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 c15si741557ioa.59.2021.07.29.23.09.18; Thu, 29 Jul 2021 23:09:31 -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=llbq3B68; dkim=neutral (no key) header.i=@suse.de; 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 S237244AbhG3GJJ (ORCPT + 99 others); Fri, 30 Jul 2021 02:09:09 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:56552 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237163AbhG3GJI (ORCPT ); Fri, 30 Jul 2021 02:09:08 -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 24EBD22129; Fri, 30 Jul 2021 06:09:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1627625343; 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=yJ1yHepxiXGKkkLe9+dCqnP+TH4u121Dr/zgR8/UQ4o=; b=llbq3B68GW9PwFU0onMKrS70kKE/43Vyo2E08QmCsqCYnXkGR5Nwzohzz2RhqT82eYD6Ec +R5ms3TKVu9NYv4It5nzVBs0PAOWjK7h9IX99rOv5QR2j3M7xyJ+FOOvzDmPDlP2YCL+Ir scRNHrN1Q0mjalav6uXeW8rmPJ8RWwQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1627625343; 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=yJ1yHepxiXGKkkLe9+dCqnP+TH4u121Dr/zgR8/UQ4o=; b=elmUwU/oy3Wiei721hct2JCqOru8absqb4s/VGNf2JugJzjWpfssezxvIDXtRnzRvgCLFl Phhskarx1WBfhOAw== 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 3655313BFA; Fri, 30 Jul 2021 06:08:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FMjSOHuXA2HpAwAAMHmgww (envelope-from ); Fri, 30 Jul 2021 06:08:59 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: "NeilBrown" To: "Al Viro" Cc: "Josef Bacik" , "J. Bruce Fields" , "Christoph Hellwig" , "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 In-reply-to: References: <162742539595.32498.13687924366155737575.stgit@noble.brown>, <20210728193536.GD3152@fieldses.org>, , Date: Fri, 30 Jul 2021 16:08:57 +1000 Message-id: <162762533738.21659.10411397768851876517@noble.neil.brown.name> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, 30 Jul 2021, Al Viro wrote: > On Wed, Jul 28, 2021 at 05:30:04PM -0400, Josef Bacik wrote: >=20 > > I don't think anybody has that many file systems. For btrfs it's a single > > file system. Think of syncfs, it's going to walk through all of the super > > blocks on the system calling ->sync_fs on each subvol superblock. Now th= is > > isn't a huge deal, we could just have some flag that says "I'm not real" = or > > even just have anonymous superblocks that don't get added to the global > > super_blocks list, and that would address my main pain points. >=20 > Umm... Aren't the snapshots read-only by definition? No, though they can be. subvols can be created empty, or duplicated from an existing subvol. Any subvol can be written, using copy-on-write of course. NeilBrown