Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1777049pxp; Mon, 7 Mar 2022 02:04:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzbwqtUtMvoHZNRFETj7MobbW/IyQzl6LKCE267P7707r6jMavyXQcKMNQ9hADvCw+dpSL X-Received: by 2002:aa7:c54b:0:b0:415:c714:7a1f with SMTP id s11-20020aa7c54b000000b00415c7147a1fmr10069538edr.385.1646647466415; Mon, 07 Mar 2022 02:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646647466; cv=none; d=google.com; s=arc-20160816; b=Fcu4AK0cZUmV+6DhHF00m/G02bz7h9HdMKXz7kC19tT7wOcvgvbjkwa7hQWt28xt/G i3N9v7P87bISAB6G3ST25E9Srvv6rL9N4RyDWnAWbQXPTHKrksLUKHkTz0pOxjaA+XdG AxJYEtm1UipL+ZzL8ZjOo4Z30Ku0HTIVl/YHwnIQbo37HPnCTu83drAjyxc5+H7eUDmr 8zvz8WYMZaquM2KqtgUtZAsDQ5JtZstDQKZIrIEejYFyjISlO5GvdOgmlgFwwsrDBISL G6SltvAe+pVMy3cJ/9thzfCgurhOTs6VNsYOUQmbH6oKF7HKZGbveM7p2Xf6xnyO8vGQ IHpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=KTghfdefErZr9TJUR0s3yEsXWDl9gkeEFNWhRQAqWic=; b=iCvtFkdNfNpJgPutKhB4ex2zxzVUMPmNfsN+5NHebanhiFi5u3ZCD0KhFCseS1U2i3 Zzyxx6+ptQe8jE9Tu03A3Uwrj61yxrM3tLL7v43fVT+z5LdlHWcocataaKRoldOnQxsN UQ2vsEg64hl81AbUtb0NOZhjmmCJqZpdx2PBrbEyVH21ocfemfZn1uV1BXXS8cvTZ2DQ jiY/H/r4gz+D/nIJGfiAEf5ylDugrXRibwC65Uds0bvyBpvCrvc+yNpU2hO/D2831+sZ BytQFftJJwDo6F14EOJtlEs4Mx/FxoGSls/RNa/dpwEPYGFCPyFKwT7E3KTfIxwQh2Wv BT2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf20-20020a1709077f1400b006da91642045si8760446ejc.762.2022.03.07.02.03.55; Mon, 07 Mar 2022 02:04:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236945AbiCGJaB convert rfc822-to-8bit (ORCPT + 99 others); Mon, 7 Mar 2022 04:30:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237865AbiCGJ23 (ORCPT ); Mon, 7 Mar 2022 04:28:29 -0500 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B38D58E7B for ; Mon, 7 Mar 2022 01:26:10 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id D36456081110; Mon, 7 Mar 2022 10:25:52 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ePxsfqZD5BWW; Mon, 7 Mar 2022 10:25:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 62F806081130; Mon, 7 Mar 2022 10:25:52 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id u05cgcss8tR2; Mon, 7 Mar 2022 10:25:52 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 3E2A46081110; Mon, 7 Mar 2022 10:25:52 +0100 (CET) Date: Mon, 7 Mar 2022 10:25:52 +0100 (CET) From: Richard Weinberger To: bfields Cc: linux-nfs , david , luis turcitu , david young , david oberhollenzer , trond myklebust , anna schumaker , chris chilvers Message-ID: <1645735662.120362.1646645152190.JavaMail.zimbra@nod.at> In-Reply-To: <20220217163332.GA16497@fieldses.org> References: <20220217131531.2890-1-richard@nod.at> <20220217163332.GA16497@fieldses.org> Subject: Re: [RFC PATCH 0/6] nfs-utils: Improving NFS re-exports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: nfs-utils: Improving NFS re-exports Thread-Index: VFS0/kQdQX7YG8wybHl+abIhZXURCQ== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Bruce, ----- Ursprüngliche Mail ----- > Von: "bfields" > On Thu, Feb 17, 2022 at 02:15:25PM +0100, Richard Weinberger wrote: >> This is the second iteration of the NFS re-export improvement series for >> nfs-utils. >> While the kernel side didn't change at all and is still small, >> the userspace side saw much more changes. >> Please note that this is still an RFC, there is room for improvement. >> >> The core idea is adding new export option: reeport= >> Using reexport= it is possible to mark an export entry in the exports file >> explicitly as NFS re-export and select a strategy how unique identifiers >> should be provided. >> "remote-devfsid" is the strategy I have proposed in my first patch, >> I understand that this one is dangerous. But I still find it useful in some >> situations. >> "auto-fsidnum" and "predefined-fsidnum" are new and use a SQLite database as >> backend to keep track of generated ids. >> For a more detailed description see patch "exports: Implement new export option >> reexport=". > > Thanks, I'll try to take a look. Did you find some cycles to think about which approach you prefer? Thanks, //richard