Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp435518pxu; Wed, 25 Nov 2020 06:59:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgJYI73cE2pbVHhARENk4cn05yAALCs3TKmV1xrGtXFjvoWEcHMDorMEEMOPRI4fIxu7hB X-Received: by 2002:a17:906:7f95:: with SMTP id f21mr3594357ejr.340.1606316340788; Wed, 25 Nov 2020 06:59:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606316340; cv=none; d=google.com; s=arc-20160816; b=dcJA/nXBVaycGOf7GzDjJZmvZfFlY8OWDlwOHYsAV8fJ1ORCKK2KqjmmrN/sTorLHh GCywxW9thCn6EKVg5+/mLxxng0j6JJ8ZYHk6esIat2dD89KIEgWxOg2dMi1XLc3vb+FA OGlqxRKLJM5xilllmWmL6o287p49BX/LPG0pSkFJUfgDujziqPy6Pux0Tsh7lVxykQEF Ko5LSflQDHIFhBCRfu1H3cCI4oxyAasMD5Racs8jN7xZHpEWB1xojfqavqu4AjuC4zZ2 f66i2LZRAbOCrtbhIXnDERSkGUlp1L21VjGJJA1RG8vYD5eKky74YNARp0uXvTd7aXsX txcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=vZJ6rqqCLO9Rn+i2pM+yesoiN1pJ6o1MPv8iuylxfQo=; b=kNl8IDqZGpVmOwrdZCOxAea+qPBryGgCqtTLv38GoPPfmHtgGkUT39YpUlFti4Lf9B 6jt1u4rQDlXWv/NrcAGndYwGj7DwsvOd/4MPMJRQcEaK2pdPkmxuIMRCKmN/hg7YZoyP fccTiO2SNeB1cE/mI3BPeIW3LhOHpU36ahna7AqE6I+olOmwVkHiMufZ2+MwoKBkKTZH 6WzDa3xoRd1YQQeOT0dUgcsM8GQj+WVeysj3B+Uv3TE+dDlQiEQTK6X3B5P1Pe91dYOY hMdfJ6XN6g8XHQ8Vv2Nb17GefLpU3s17e8tHsNVuX/lkD85g5eMZrR4GENBref/gFPz8 LNfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=YYw13DlI; 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 e27si1396248ejh.49.2020.11.25.06.58.27; Wed, 25 Nov 2020 06:59:00 -0800 (PST) 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=@fieldses.org header.s=default header.b=YYw13DlI; 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 S1728082AbgKYOry (ORCPT + 99 others); Wed, 25 Nov 2020 09:47:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727611AbgKYOry (ORCPT ); Wed, 25 Nov 2020 09:47:54 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 370CCC0613D4 for ; Wed, 25 Nov 2020 06:47:54 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 10D696EA1; Wed, 25 Nov 2020 09:47:53 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 10D696EA1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1606315673; bh=vZJ6rqqCLO9Rn+i2pM+yesoiN1pJ6o1MPv8iuylxfQo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YYw13DlIp25Q9rrYz8JSF44OjvqJUEADVOSG2W6LjKFO1Dne5/nIAHqhYy41gGhEk 2kFEBg+ioDhj11MiptAXgmIBf9g5zVwWqRS9qEOrL7NCBpY7f4yR21bjkt3vfV0bEB fpcTZ1TWvJkJm4BBF5EjMHuWzSYhWPkO4JFOowvM= Date: Wed, 25 Nov 2020 09:47:53 -0500 From: 'bfields' To: Frank Filz Cc: 'Daire Byrne' , 'Trond Myklebust' , 'linux-cachefs' , 'linux-nfs' Subject: Re: Adventures in NFS re-exporting Message-ID: <20201125144753.GC2811@fieldses.org> References: <20200915172140.GA32632@fieldses.org> <4d1d7cd0076d98973a56e89c92e4ff0474aa0e14.camel@hammerspace.com> <1188023047.38703514.1600272094778.JavaMail.zimbra@dneg.com> <279389889.68934777.1603124383614.JavaMail.zimbra@dneg.com> <635679406.70384074.1603272832846.JavaMail.zimbra@dneg.com> <20201109160256.GB11144@fieldses.org> <1744768451.86186596.1605186084252.JavaMail.zimbra@dneg.com> <1055884313.92996091.1606250106656.JavaMail.zimbra@dneg.com> <20201124211522.GC7173@fieldses.org> <0fc201d6c2af$62b039f0$2810add0$@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0fc201d6c2af$62b039f0$2810add0$@mindspring.com> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Nov 24, 2020 at 02:15:57PM -0800, Frank Filz wrote: > How much conversation about re-export has been had at the wider NFS > community level? I have an interest because Ganesha supports re-export via > the PROXY_V3 and PROXY_V4 FSALs. We currently don't have a data cache though > there has been discussion of such, we do have attribute and dirent caches. > > Looking over the wiki page, I have considered being able to specify a > re-export of a Ganesha export without encapsulating handles. Ganesha > encapsulates the export_fs handle in a way that could be coordinated between > the original server and the re-export so they would both effectively have > the same encapsulation layer. In the case the re-export server only servers a single export, I guess you could do away with the encapsulation. (The only risk I see is that a client of the re-export server could also access any export of the original server if it could guess filehandles, which might surprise admins.) Maybe that'd be useful. Another advantage of not encapsulating filehandles is that clients could more easily migrate between servers. Cooperating servers could have an agreement on filehandles. And I guess we could standardize that somehow. Are we ready for that? I'm not sure what other re-exporting problems there are that I haven't thought of. --b. > I'd love to see some re-export best practices shared among server > implementations, and also what we can do to improve things when two server > implementations are interoperating via re-export.