Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4995661pxv; Wed, 28 Jul 2021 00:01:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1kPpZ4TQ4OAQE4Evqlogyl5CiukOQAnOR0IgjLZzlCXaBcKG/d70syPc81OiZaSJZfB08 X-Received: by 2002:a92:cf4d:: with SMTP id c13mr20306857ilr.240.1627455709323; Wed, 28 Jul 2021 00:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627455709; cv=none; d=google.com; s=arc-20160816; b=vciSzL8ZPPFnCLK8cSrdXXe1ZPTd3LQzeBDiWidKeGGSAtAkX6okeMV0nvSDqzCWoI dJRd5A4PcZZyNGlOwsgwOdrH7s5EhTaov9Cqrnf0DrGSUJS/sXnBfp2Nxj5mwhKNKU9w yotTwNhcUoMlI1+4Jy2znfePd8GM75nu09dfvIGTtBjmCkfLB6oxMPwQreWFhqTCczhB RXW4mtJg5SM1aE7jlTFODGxGT6cmnqz7GhoMGzSgYJ8ta3gRSoIs5TAlE7CAX71ycJq/ JMUPFtcgIPe3Cy46lAiEPdRAGR0z1x9f8cCnjB0on5ukaLBmGXh7XtAnKjOl0oSLyKOq FAig== 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=vfKtWzYL5xXiaqOIrst/4AjlFpXV2P7VCCB+Rl25VdM=; b=f4xetxMzUUWfYk+tEK9rv0X9TEE/H5QY1WQM8qWp+w6/rIsbpOK+WfYT3WD9Tw7pOl R+b3vmxI1fJKJmY/BHalhJpUSd52yUQQI4Mrt2JZUi+glNKK7mzDOznwiCAcWZ/ok5EP 0Ek1rEHKl/4+DknLEmAV1J+D7SUAIpSvD0y/U8837hkXoiTkGZcfgD0drwaH82Had15f B00qXB8KfwOGq33US3wg0g3NwTkMxDTcV7hh1vvGFU+BlRUJKhGd7uQDZN/28iwmW95M gxS5GkgzePSqeQMJrLpNuHYj1k6FQAZ0GK0Li5qj3HrVWtNu+cOqJgk5KIhubYOMyk4W HcCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=2XMWMKwA; 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 o11si5751920ilg.108.2021.07.28.00.01.30; Wed, 28 Jul 2021 00:01:49 -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=2XMWMKwA; 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 S233187AbhG1HB1 (ORCPT + 99 others); Wed, 28 Jul 2021 03:01:27 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:47346 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbhG1HBW (ORCPT ); Wed, 28 Jul 2021 03:01:22 -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 CBA57222C2; Wed, 28 Jul 2021 07:01:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1627455679; 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=vfKtWzYL5xXiaqOIrst/4AjlFpXV2P7VCCB+Rl25VdM=; b=2XMWMKwA5ujV2g4duDlLx1urXnz015ncFd+g/bzlGaGwp3E0wkaCNB1CkvywR4RU/SRp/6 3ZeGRXag0UNS8AhbOuYFzetobKFNDPN58HXRzIQ0Eqb06Jcj339+18DxmVPALnCW3AFHA7 dDvSSrrKAzv1eOyPCDiO0oTqJWAhV38= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1627455679; 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=vfKtWzYL5xXiaqOIrst/4AjlFpXV2P7VCCB+Rl25VdM=; b=laAJHdS5TTLoYJ5xLk6clvHlwoqXRbxNQC6y50j1atA0ZrUIJTJe7rIS6lcX5FNiqUP1s+ O1JTaN0SRvag+EDg== 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 A524A13AC2; Wed, 28 Jul 2021 07:01:16 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id iuzAGLwAAWH7TQAAMHmgww (envelope-from ); Wed, 28 Jul 2021 07:01:16 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "NeilBrown" To: "Wang Yugui" Cc: "Christoph Hellwig" , "Josef Bacik" , "J. Bruce Fields" , "Chuck Lever" , "Chris Mason" , "David Sterba" , "Alexander Viro" , 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: <20210728140431.D704.409509F4@e16-tech.com> References: <162742539595.32498.13687924366155737575.stgit@noble.brown>, <20210728125819.6E52.409509F4@e16-tech.com>, <20210728140431.D704.409509F4@e16-tech.com> Date: Wed, 28 Jul 2021 17:01:10 +1000 Message-id: <162745567084.21659.16797059962461187633@noble.neil.brown.name> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, 28 Jul 2021, Wang Yugui wrote: > Hi, > > This patchset works well in 5.14-rc3. Thanks for testing. > > 1, fixed dummy inode(255, BTRFS_FIRST_FREE_OBJECTID - 1 ) is changed to > dynamic dummy inode(18446744073709551358, or 18446744073709551359, ...) The BTRFS_FIRST_FREE_OBJECTID-1 was a just a hack, I never wanted it to be permanent. The new number is ULONG_MAX - subvol_id (where subvol_id starts at 257 I think). This is a bit less of a hack. It is an easily available number that is fairly unique. > > 2, btrfs subvol mount info is shown in /proc/mounts, even if nfsd/nfs is > not used. > /dev/sdc btrfs 94G 3.5M 93G 1% /mnt/test > /dev/sdc btrfs 94G 3.5M 93G 1% /mnt/test/sub1 > /dev/sdc btrfs 94G 3.5M 93G 1% /mnt/test/sub2 > > This is a visiual feature change for btrfs user. Hopefully it is an improvement. But it is certainly a change that needs to be carefully considered. Thanks, NeilBrown