Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1717246pxb; Fri, 27 Aug 2021 16:05:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYs3sNVZtLygYkuen4/KWcosH5sacZY5ATCRV3APblNVeYLubedtjhfN6gqxDknb94jZCO X-Received: by 2002:a5d:9ad0:: with SMTP id x16mr9536183ion.182.1630105528936; Fri, 27 Aug 2021 16:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630105528; cv=none; d=google.com; s=arc-20160816; b=CwYpxH7tf7CLCO7DIfcWezWsIedbJDWzXVt34F/l69qDHy3BaEgkwtby3+yvb5ZoRU PXczcIrLcq0b9KEN7y74eM80UzGBQ1OTVqyaAChm3K4Jlm0eFigpXTDPVKYUeTkGHtsV ucg5YZwemeY2WWbTGr/+q9JjdkDDPgCiqryf4IUlqI2h1EFCOR1scmvTsv4R6HrzVhsD hnBd0xVEze8sxB2VcTzlyD8OKNXohLnqMEXIYynV0OUZOeOXyQy4WfQOybTJA85r0brJ smDl8xU+Z6Q+as8ivqA8nPYdZmQB0bBIYlQXB+Nj/Iou7PIyFc/sJ2MRnPG8c+RmI/X2 OYhQ== 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=SZdODqQDlDyOqv2uAa/LVlgdI5QGPPQH1/ft+u8krO0=; b=x+1+QVSi8E8ebMrk1McgpxtmkH/ZDKJiVpOsZCKRzRmuTR0SdMVwPzZzk2xOPygCQ1 chYG20Nirku/GnSgSPs2ynLU19Yg2tq+HLkh8mUVjwGsfgqlhJuKoZHkZ7DSw0iR6+O0 Xx3FyhoiJK/lyrWh0StPmkc+5jGE0GPzNLehgjZCRLh9mhICIRt/sCN1QncXwzhy5srT IZICam3uNSFMTStkQnn2/8qu3xofLcqWhpKrCTA+2PzUBoEMaL93Ow+AvzCOYVEbg/1j QRyktIwsmttW9BFh1+nKcfJombXLuNqNgq8dbuONV3W0zYrjNIJ6+0a85A8gZVhg9zHM WdGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=HolJJ1R2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=RLfRk13G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si7511549jat.110.2021.08.27.16.05.16; Fri, 27 Aug 2021 16:05:28 -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=HolJJ1R2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=RLfRk13G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232418AbhH0XGE (ORCPT + 99 others); Fri, 27 Aug 2021 19:06:04 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:32978 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232252AbhH0XGD (ORCPT ); Fri, 27 Aug 2021 19:06:03 -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-out2.suse.de (Postfix) with ESMTPS id 1A8DF1FF4B; Fri, 27 Aug 2021 23:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1630105513; 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=SZdODqQDlDyOqv2uAa/LVlgdI5QGPPQH1/ft+u8krO0=; b=HolJJ1R2gr8anL5O+U3086zJmU23s/pTtxvrYuJ/wBBJgQNN76+jwZyMZryONmZLqW6GTG hZJhMOqHzZEPgseVvCp4V8yz1TDxzBg0XN/fJz0gbLMgQY7X+J11uVgy7xjipk34w5+T5q oQS1azS60HGNFWFHsjLeEbJ/6rvDBKE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1630105513; 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=SZdODqQDlDyOqv2uAa/LVlgdI5QGPPQH1/ft+u8krO0=; b=RLfRk13GbUAbqQigvgoVyUTjBn4ux41JDqjt4K5OJLSjCJoZQG1I24iAVZaf2oWD3IeUIK 8bDq0dm70nMZF3Dw== 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 71F0013D7D; Fri, 27 Aug 2021 23:05:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id DrNZDKdvKWF6JQAAMHmgww (envelope-from ); Fri, 27 Aug 2021 23:05:11 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "NeilBrown" To: "Christoph Hellwig" Cc: "J. Bruce Fields" , "Chuck Lever" , linux-nfs@vger.kernel.org, "Josef Bacik" Subject: Re: [PATCH v2] BTRFS/NFSD: provide more unique inode number for btrfs export In-reply-to: References: <162995209561.7591.4202079352301963089@noble.neil.brown.name>, <162995778427.7591.11743795294299207756@noble.neil.brown.name>, Date: Sat, 28 Aug 2021 09:05:08 +1000 Message-id: <163010550851.7591.9342822614202739406@noble.neil.brown.name> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Sat, 28 Aug 2021, Christoph Hellwig wrote: > On Thu, Aug 26, 2021 at 04:03:04PM +1000, NeilBrown wrote: > > > > This patch allows btrfs (or any filesystem) to provide a 64bit number > > that can be xored with the inode number to make the number more unique. > > Rather than the client being certain to see duplicates, with this patch > > it is possible but extremely rare. > > Yikes. Please don't do something like this that will eventually > cause collisions. > > There doesn't seem to be any other option - and this is still an improvement over the current behaviour. Collisions should still be quite a few years away, and there is hope that the btrfs developers will take action before then to provide some certainty. Not much hope, but some. NeilBrown