Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1453569pxb; Sun, 22 Aug 2021 17:57:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqGM8IAlNE11BWvFwyZw9LzBiD6DyamQuxvnFjqr89RU99FFx0acYyxBa5OmxzsJ/Tl710 X-Received: by 2002:a05:6e02:1250:: with SMTP id j16mr21411018ilq.215.1629680252287; Sun, 22 Aug 2021 17:57:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629680252; cv=none; d=google.com; s=arc-20160816; b=YJn9cGrW7rfaSQXxrJCyvIWS0sT9bVh841iFcdW6pMiElj/acgvu6TgwR+03aHVDN/ KsVQIjgMdF3gedzKHgcGvyOyxKwbxW4HZlPVRI+qkaxQyi77Z19R5dLubntZu7GFo28i sVhSj00NDg66vtrqoUyVwFUFLXFpWXTsz9cB0faojTaIv2+c4uMcHBOcw51MVaIEQ1I+ 1uzCr6cQCBtIJ+W1omagNYr2QYY9uoV0/Q4giI8Xcx1/f8P8+rLjwJCyZyKHbAluxDqN K7LiwsvNe3q5zssPHGZQEx0jZFSqfyYEuEyJCJbuuBCm3CP/tGj1aeky7EAfugLPPSTx VzmA== 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=PWXez23ltm2GiWieOdJXlLcgrc3bMDFrApqA9p6cH9A=; b=V/OPd3OSdmQ8t5iQwwWmk/X+NtYZHqyYvEbJWnVI5XcxM3JTH+r/92Le3EsnlNqBAx afMWYP6RmWz8aiubzLnYhUBlXxJQkPF6w9EBOeHV+G2GKZBufYm3HHLxQR7hyrhOCs2v ThpquzOzvW/zd/4+6P/PXDeE6Azml3+9tKQ1oukIT3mJ8ScRXy6CE+/rQWdxlNYagoTY OPBCHNm+k4zBaM6OPae/TTYXHhmf4SBd7kPiWKEr/lk1j5C13g4+QQarKuUBnpVf0d3n 9ZZKAb0f3koCP9hfRU4gT69hhWniQdb3SsSHgVfD+7Ux7GVnfA989kk8snnhtUZf8t1J BsJw== 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 i9si13233800ilv.82.2021.08.22.17.57.04; Sun, 22 Aug 2021 17:57:32 -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 S230238AbhHWA5o (ORCPT + 99 others); Sun, 22 Aug 2021 20:57:44 -0400 Received: from out20-38.mail.aliyun.com ([115.124.20.38]:48191 "EHLO out20-38.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbhHWA5o (ORCPT ); Sun, 22 Aug 2021 20:57:44 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1628733|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_social|0.140926-0.00254726-0.856527;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047199;MF=wangyugui@e16-tech.com;NM=1;PH=DS;RN=12;RT=12;SR=0;TI=SMTPD_---.L6VWebn_1629680219; Received: from 192.168.2.112(mailfrom:wangyugui@e16-tech.com fp:SMTPD_---.L6VWebn_1629680219) by smtp.aliyun-inc.com(10.147.40.233); Mon, 23 Aug 2021 08:56:59 +0800 Date: Mon, 23 Aug 2021 08:57:00 +0800 From: Wang Yugui To: Zygo Blaxell Subject: Re: [PATCH] VFS/BTRFS/NFSD: provide more unique inode number for btrfs export Cc: NeilBrown , 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: <20210819021910.GB29026@hungrycats.org> References: <162932318266.9892.13600254282844823374@noble.neil.brown.name> <20210819021910.GB29026@hungrycats.org> Message-Id: <20210823085658.0ABE.409509F4@e16-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.75.04 [en] Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi, > rsync -H and cpio's hardlink detection can be badly confused. They will > think distinct files with the same inode number are hardlinks. This could > be bad if you were making backups (though if you're making backups over > NFS, you are probably doing something that could be done better in a > different way). 'rysnc -x ' and 'find -mount/-xdev' will fail to work in snapper config? snapper is a very important user case. Although yet not some option like '-mount/-xdev' for '/bin/cp', but maybe come soon. I though the first patchset( crossmnt in nfs client) is the right way, because in most case, subvol is a filesystem, not a directory. Best Regards Wang Yugui (wangyugui@e16-tech.com) 2021/08/23