Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4933166pxv; Tue, 27 Jul 2021 21:58:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyoafrsaKmzSPeI9EckoLXJUal7VIDLkwp57bHvOyVkz7vxsgEGmr0/5UIofdsdGbEF+VR X-Received: by 2002:a5e:9743:: with SMTP id h3mr11469554ioq.52.1627448335068; Tue, 27 Jul 2021 21:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627448335; cv=none; d=google.com; s=arc-20160816; b=qplbylqC3Qo7jd2gDl+WF+DjWJiaY/uw32QaaLReZZUuFfe3GtWzc5+SuCfhjsaVi9 WoEtWjTauqek8vdbAkY1CKtStaI40Isr5p+VWR4CXh/F7QJ4O7qOe5iGfiew4BpY8o0V hoafa9wKmbBK+WCPXkcBPMvq7DRHNEBMQR28SsGy2vJXpXiLpAR/yoXJb0hoDjrQCAbo uTZXCtKvTpk1B+MgIH5pcYUE+XJlo97ZlPMGCGGHPz+9CmtdquMxZnJb88ZHALTGrGys 0D3Hk7TyAQha6Q/QKKutH66QF+z1uffvqcOUPtob7LyH+Z/4UD3sRmmIQNgJGtiUVxjw Lg4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:cc:subject:to:from:date; bh=9N+KjDGQuZQfvRIGxuBlRwRQuw9JsZk+e+fh0c1K2is=; b=jl8B5VLSPpntt6wDhF0e1/AnUqWkRP7EgslNCI1YZ6mOcFBO8spbN+KzR7WrVJH4IP hwkH6YGwczGVVuztuEIg/fllbMZWaO5jwKDv5kb9QfS+LG+JtYw65ykHtmWNB7jNoumC fAZIj5l0ObalBgEtOGECACkWcwI62YkBNV9kW0dk3HzzrMDHQHQajLLMw0SpnLkkEdHo FagHTQGPPLeJET+SIp/ylSZaMi3h7e0T8xFREkfauTbxYH5IzwcP3hzbf3IChvZOWwQv lHK1o3vmf/SEsHLaQ94zrramOzdH1QQNiVyEtt8IoXCmhCA3deR1YZ9ZWkCLPy1XaPDH /rRg== 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 r7si6303575ill.122.2021.07.27.21.58.33; Tue, 27 Jul 2021 21:58:55 -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 S233670AbhG1E6Y (ORCPT + 99 others); Wed, 28 Jul 2021 00:58:24 -0400 Received: from out20-63.mail.aliyun.com ([115.124.20.63]:55585 "EHLO out20-63.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbhG1E6Y (ORCPT ); Wed, 28 Jul 2021 00:58:24 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.04195771|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_regular_dialog|0.0249114-0.000594773-0.974494;FP=0|0|0|0|0|0|0|0;HT=ay29a033018047211;MF=wangyugui@e16-tech.com;NM=1;PH=DS;RN=11;RT=11;SR=0;TI=SMTPD_---.Krwa7sS_1627448298; Received: from 192.168.2.112(mailfrom:wangyugui@e16-tech.com fp:SMTPD_---.Krwa7sS_1627448298) by smtp.aliyun-inc.com(10.147.41.121); Wed, 28 Jul 2021 12:58:19 +0800 Date: Wed, 28 Jul 2021 12:58:20 +0800 From: Wang Yugui To: NeilBrown Subject: Re: [PATCH/RFC 00/11] expose btrfs subvols in mount table correctly 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 In-Reply-To: <162742539595.32498.13687924366155737575.stgit@noble.brown> References: <162742539595.32498.13687924366155737575.stgit@noble.brown> Message-Id: <20210728125819.6E52.409509F4@e16-tech.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------_6100E1AD000000006E4D_MULTIPART_MIXED_" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.75.04 [en] Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org --------_6100E1AD000000006E4D_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, We no longer need the dummy inode(BTRFS_FIRST_FREE_OBJECTID - 1) in this patch serials? I tried to backport it to 5.10.x, but it failed to work. No big modification in this 5.10.x backporting, and all modified pathes are attached. Best Regards Wang Yugui (wangyugui@e16-tech.com) 2021/07/28 > There are long-standing problems with btrfs subvols, particularly in > relation to whether and how they are exposed in the mount table. > > - /proc/self/mountinfo reports the major:minor device number for each > filesystem and when a btrfs subvol is explicitly mounted, the number > reported is wrong - it does not match what stat() reports for the > mountpoint. > > - when subvol are not explicitly mounted, they don't appear in > mountinfo at all. > > Consequences include that a tool which uses stat() to find the dev of the > filesystem, then searches mountinfo for that filesystem, will not find > it. > > Some tools (e.g. findmnt) appear to have been enhanced to cope with this > strangeness, but it would be best to make btrfs behave more normally. > > - nfsd cannot currently see the transition to subvol, so reports the > main volume and all subvols to the client as being in the same > filesystem. As inode numbers are not unique across all subvols, > this can confuse clients. In particular, 'find' is likely to report a > loop. > > subvols can be made to appear in mountinfo using automounts. However > nfsd does not cope well with automounts. It assumes all filesystems to > be exported are already mounted. So adding automounts to btrfs would > break nfsd. > > 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. > > The NFSv3 support is incomplete. I'm not sure we can make it work > "perfectly". A normal nfsv3 mount seem to work well enough, but if > mounted with '-o noac', it loses track of the mounted-on inode number > and complains about inode numbers changing. > > My basic test for these is to mount a btrfs filesystem which contains > subvols, nfs-export it and mount it with nfsv3 and nfsv4, then run > 'find' in each of the filesystem and check the contents of > /proc/self/mountinfo. > > The first patch simply fixes the dev number in mountinfo and could > possibly be tagged for -stable. > > NeilBrown > > --- > > NeilBrown (11): > VFS: show correct dev num in mountinfo > VFS: allow d_automount to create in-place bind-mount. > VFS: pass lookup_flags into follow_down() > VFS: export lookup_mnt() > VFS: new function: mount_is_internal() > nfsd: include a vfsmount in struct svc_fh > exportfs: Allow filehandle lookup to cross internal mount points. > nfsd: change get_parent_attributes() to nfsd_get_mounted_on() > nfsd: Allow filehandle lookup to cross internal mount points. > btrfs: introduce mapping function from location to inum > btrfs: use automount to bind-mount all subvol roots. > > > fs/btrfs/btrfs_inode.h | 12 +++ > fs/btrfs/inode.c | 111 ++++++++++++++++++++++++++- > fs/btrfs/super.c | 1 + > fs/exportfs/expfs.c | 100 ++++++++++++++++++++---- > fs/fhandle.c | 2 +- > fs/internal.h | 1 - > fs/namei.c | 6 +- > fs/namespace.c | 32 +++++++- > fs/nfsd/export.c | 4 +- > fs/nfsd/nfs3xdr.c | 40 +++++++--- > fs/nfsd/nfs4proc.c | 9 ++- > fs/nfsd/nfs4xdr.c | 106 ++++++++++++------------- > fs/nfsd/nfsfh.c | 44 +++++++---- > fs/nfsd/nfsfh.h | 3 +- > fs/nfsd/nfsproc.c | 5 +- > fs/nfsd/vfs.c | 162 +++++++++++++++++++++++---------------- > fs/nfsd/vfs.h | 12 +-- > fs/nfsd/xdr4.h | 2 +- > fs/overlayfs/namei.c | 5 +- > fs/xfs/xfs_ioctl.c | 12 ++- > include/linux/exportfs.h | 4 +- > include/linux/mount.h | 4 + > include/linux/namei.h | 2 +- > 23 files changed, 490 insertions(+), 189 deletions(-) > > -- > Signature --------_6100E1AD000000006E4D_MULTIPART_MIXED_ Content-Type: application/octet-stream; name="0009-nfsd-Allow-filehandle-lookup-to-cross-internal-mount.patch" Content-Disposition: attachment; filename="0009-nfsd-Allow-filehandle-lookup-to-cross-internal-mount.patch" Content-Transfer-Encoding: base64 RnJvbSBhZjk0NDM4M2Q4MzU4NjBjZjllYmQ3ODU5YWFkYmZiYzRhNWMyOTVjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOZWlsQnJvd24gPG5laWxiQHN1c2UuZGU+CkRhdGU6IFdlZCwg MjggSnVsIDIwMjEgMDg6Mzc6NDUgKzEwMDAKU3ViamVjdDogW1BBVENIXSBuZnNkOiBBbGxvdyBm aWxlaGFuZGxlIGxvb2t1cCB0byBjcm9zcyBpbnRlcm5hbCBtb3VudCBwb2ludHMuCgpFbmhhbmNl IG5mc2QgdG8gZGV0ZWN0IGludGVybmFsIG1vdW50cyBhbmQgdG8gY3Jvc3MgdGhlbSB3aXRob3V0 CnJlcXVpcmluZyBhIG5ldyBleHBvcnQuCgpBbHNvIGVuc3VyZSB0aGUgZnNpZCByZXBvcnRlZCBp cyBkaWZmZXJlbnQgZm9yIGRpZmZlcmVudCBzdWJtb3VudHMuICBXZQpkbyB0aGlzIGJ5IHhvcmlu ZyBpbiB0aGUgaW5vIG9mIHRoZSBtb3VudGVkLW9uIGRpcmVjdG9yeS4gIFRoaXMgbWFrZXMKc2Vu c2UgZm9yIGJ0cmZzIGF0IGxlYXN0LgoKU2lnbmVkLW9mZi1ieTogTmVpbEJyb3duIDxuZWlsYkBz dXNlLmRlPgotLS0KIGZzL25mc2QvbmZzM3hkci5jIHwgMjggKysrKysrKysrKysrKysrKysrKysr LS0tLS0tLQogZnMvbmZzZC9uZnM0eGRyLmMgfCAzNCArKysrKysrKysrKysrKysrKysrKysrKy0t LS0tLS0tLS0tCiBmc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ZjX2V4cG9ydCAqZXhwKQogCQlyZXR1cm4gMTsKIAlpZiAobmZzZDRfaXNfanVuY3Rpb24o ZGVudHJ5KSkKIAkJcmV0dXJuIDE7Ci0JaWYgKGRfbW91bnRwb2ludChkZW50cnkpKQorCWlmIChk X21hbmFnZWQoZGVudHJ5KSkKIAkJLyoKIAkJICogTWlnaHQgb25seSBiZSBhIG1vdW50cG9pbnQg aW4gYSBkaWZmZXJlbnQgbmFtZXNwYWNlLAogCQkgKiBidXQgd2UgbmVlZCB0byBjaGVjay4KLS0g CjIuMzIuMAoK --------_6100E1AD000000006E4D_MULTIPART_MIXED_ Content-Type: application/octet-stream; name="0011-btrfs-use-automount-to-bind-mount-all-subvol-roots.patch" Content-Disposition: attachment; filename="0011-btrfs-use-automount-to-bind-mount-all-subvol-roots.patch" Content-Transfer-Encoding: base64 RnJvbSBlODE4YTE0NzE1NWQyZDliNjZiOTg2ZTQ2MTc0NTVmZDZhMTQ1NGFhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOZWlsQnJvd24gPG5laWxiQHN1c2UuZGU+CkRhdGU6IFdlZCwg MjggSnVsIDIwMjEgMDg6Mzc6NDUgKzEwMDAKU3ViamVjdDogW1BBVENIXSBidHJmczogdXNlIGF1 dG9tb3VudCB0byBiaW5kLW1vdW50IGFsbCBzdWJ2b2wgcm9vdHMuCgpBbGwgc3Vidm9sIHJvb3Rz IGFyZSBub3cgbWFya2VkIGFzIGF1dG9tb3VudHMuICBJZiB0aGUgZF9hdXRvbW91bnQoKQpmdW5j dGlvbiBkZXRlcm1pbmVzIHRoYXQgdGhlIGRlbnRyeSBpcyBub3QgdGhlIHJvb3Qgb2YgdGhlIHZm c21vdW50LCBpdApjcmVhdGVzIGEgc2ltcGxlIGxvb3AtYmFjayBtb3VudCBvZiB0aGUgZGVudHJ5 IG9udG8gaXRzZWxmLiAgSWYgaXQKZGV0ZXJtaW5lcyB0aGF0IGl0IElTIHRoZSByb290IG9mIHRo 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gbW50OworCW1udGdldChtbnQpOworCW1udF9zZXRfZXhw aXJ5KG1udCwgJmJ0cmZzX2F1dG9tb3VudF9saXN0KTsKKwlpZiAodGltZW91dCA+IDApCisJCXNj aGVkdWxlX2RlbGF5ZWRfd29yaygmYnRyZnNfYXV0b21vdW50X3Rhc2ssIHRpbWVvdXQpOworCXJl dHVybiBtbnQ7Cit9CisKK3N0YXRpYyBpbnQgcGFyYW1fc2V0X2J0cmZzX3RpbWVvdXQoY29uc3Qg Y2hhciAqdmFsLCBjb25zdCBzdHJ1Y3Qga2VybmVsX3BhcmFtICprcCkKK3sKKwlsb25nIG51bTsK KwlpbnQgcmV0OworCisJaWYgKCF2YWwpCisJCXJldHVybiAtRUlOVkFMOworCXJldCA9IGtzdHJ0 b2wodmFsLCAwLCAmbnVtKTsKKwlpZiAocmV0KQorCQlyZXR1cm4gLUVJTlZBTDsKKwlpZiAobnVt ID4gMCkgeworCQlpZiAobnVtID49IElOVF9NQVggLyBIWikKKwkJCW51bSA9IElOVF9NQVg7CisJ CWVsc2UKKwkJCW51bSAqPSBIWjsKKwkJKigoaW50ICopa3AtPmFyZykgPSBudW07CisJCWlmICgh bGlzdF9lbXB0eSgmYnRyZnNfYXV0b21vdW50X2xpc3QpKQorCQkJbW9kX2RlbGF5ZWRfd29yayhz eXN0ZW1fd3EsICZidHJmc19hdXRvbW91bnRfdGFzaywgbnVtKTsKKwl9IGVsc2UgeworCQkqKChp bnQgKilrcC0+YXJnKSA9IC0xKkhaOworCQljYW5jZWxfZGVsYXllZF93b3JrKCZidHJmc19hdXRv bW91bnRfdGFzayk7CisJfQorCXJldHVybiAwOworfQorCitzdGF0aWMgaW50IHBhcmFtX2dldF9i dHJmc190aW1lb3V0KGNoYXIgKmJ1ZmZlciwgY29uc3Qgc3RydWN0IGtlcm5lbF9wYXJhbSAqa3Ap Cit7CisJbG9uZyBudW0gPSAqKChpbnQgKilrcC0+YXJnKTsKKworCWlmIChudW0gPiAwKSB7CisJ CWlmIChudW0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cy9idHJmcy9zdXBlci5jIGIvZnMvYnRyZnMvc3Vw ZXIuYwppbmRleCBkMDdiMThiMmIyNTAuLjMzMDA4ZTQzMmExNSAxMDA2NDQKLS0tIGEvZnMvYnRy ZnMvc3VwZXIuYworKysgYi9mcy9idHJmcy9zdXBlci5jCkBAIC0zMzgsNiArMzM4LDcgQEAgdm9p ZCBfX2J0cmZzX3BhbmljKHN0cnVjdCBidHJmc19mc19pbmZvICpmc19pbmZvLCBjb25zdCBjaGFy ICpmdW5jdGlvbiwKIHN0YXRpYyB2b2lkIGJ0cmZzX3B1dF9zdXBlcihzdHJ1Y3Qgc3VwZXJfYmxv Y2sgKnNiKQogewogCWNsb3NlX2N0cmVlKGJ0cmZzX3NiKHNiKSk7CisJYnRyZnNfcmVsZWFzZV9h dXRvbW91bnRfdGltZXIoKTsKIH0KIAogZW51bSB7Ci0tIAoyLjMyLjAKCg== --------_6100E1AD000000006E4D_MULTIPART_MIXED_ Content-Type: application/octet-stream; name="0006-nfsd-include-a-vfsmount-in-struct-svc_fh.patch" Content-Disposition: attachment; filename="0006-nfsd-include-a-vfsmount-in-struct-svc_fh.patch" Content-Transfer-Encoding: base64 RnJvbSBiN2UxNDg4ZjVmNDQ4MDZjNWNjZmY2OTJhZGFjOTA3YTdjNTdlNTQ1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOZWlsQnJvd24gPG5laWxiQHN1c2UuZGU+CkRhdGU6IFdlZCwg MjggSnVsIDIwMjEgMDg6Mzc6NDUgKzEwMDAKU3ViamVjdDogW1BBVENIXSBuZnNkOiBpbmNsdWRl IGEgdmZzbW91bnQgaW4gc3RydWN0IHN2Y19maAoKQSBmdXR1cmUgcGF0Y2ggd2lsbCBhbGxvdyBl eHBvcnRmc19kZWNvZGVfZmh7LF9yYXd9IHRvIHJldHVybiBhCmRpZmZlcmVudCB2ZnNtb3VudCB0 aGFuIHRoZSBvbmUgcGFzc2VkLiAgVGhpcyBpcyBzcGVjaWZp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exportfs-Allow-filehandle-lookup-to-cross-internal-m.patch" Content-Disposition: attachment; filename="0007-exportfs-Allow-filehandle-lookup-to-cross-internal-m.patch" Content-Transfer-Encoding: base64 RnJvbSA2MzdiOTdjNTg3ZGY3MDNkOTM0OGU0MDc1MDUxODM0ZTI1NjY2NDQxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOZWlsQnJvd24gPG5laWxiQHN1c2UuZGU+CkRhdGU6IFdlZCwg MjggSnVsIDIwMjEgMDg6Mzc6NDUgKzEwMDAKU3ViamVjdDogW1BBVENIXSBleHBvcnRmczogQWxs b3cgZmlsZWhhbmRsZSBsb29rdXAgdG8gY3Jvc3MgaW50ZXJuYWwgbW91bnQKIHBvaW50cy4KCldo ZW4gYSBmaWxlc3lzdGVtIGhhcyBpbnRlcm5hbCBtb3VudHMsIGl0IGNvbnRyb2xzIHRoZSBmaWxl aGFuZGxlcwphY3Jvc3MgYWxsIHRob3NlIG1vdW50cyAoc3Vidm9scykgaW4gdGhlIGZpbGVzeXN0 ZW0uICBTbyBpdCBpcyB1c2VmdWwgdG8KYmUgYWJsZSB0byBsb29rIHVwIGEgZmlsZWhhbmRsZSBh Z2FpbiBvbmUgbW91bnQsIGFuZCBnZXQgYSByZXN1bHQgd2hpY2gKaXMgaW4gYSBkaWZmZXJlbnQg bW91bnQgKHBhcnQgb2YgdGhlIHNhbWUgb3ZlcmFsbCBmaWxlIHN5c3RlbSkuCgpUaGlzIHBhdGNo IG1ha2VzIHRoYXQgcG9zc2libGUgYnkgY2hhbmdpbmcgZXhwb3J0X2RlY29kZV9maCgpIGFuZApl eHBvcnRfZGVjb2RlX2ZoX3JhdygpIHRvIHRha2UgYSB2ZnNtb3VudCBwb2ludGVyIGJ5IHJlZmVy ZW5jZSwgYW5kCnBvc3NpYmx5IGNoYW5nZSB0aGUgdmZzbW91bnQgcG9pbnRlZCB0byBiZWZvcmUg cmV0dXJuaW5nLgoKVGhlIGNvcmUgb2YgdGhlIGN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