Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp698889pxb; Thu, 17 Feb 2022 12:43:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWE+927bS4vtOqJNsJYZccF2pJchGuI3eQuKCbOXscL2/cc+F+s91WjAjLOSkE6MZwsIIF X-Received: by 2002:a63:4560:0:b0:370:1f21:36b8 with SMTP id u32-20020a634560000000b003701f2136b8mr3680820pgk.181.1645130615052; Thu, 17 Feb 2022 12:43:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645130615; cv=none; d=google.com; s=arc-20160816; b=Anc+H/TT8JfxIEfhNlsbz8l6mXI0aqta67XaFibFScw41qBDW4ScWZ1lFsjooNPC4x QlPyz9FRx00HzlbB+RxkYfaQMxg5AHTGNrmtHw5wPUT0dt4DTg0u2lf2TPHTwcEIpJLB 8uhwPOHA2ibyeqOP9l13f2nwow8e6S/xuDUA1YHgGvbU2GNp8HXAIKfxnfq3QZV5XTGT FuXsc31zYu6z/GpU86VBk5tfFFdleCZnw0vhrpZldGRRQvDy2eDQ0WgpXNbr+hw0/E5Z 59mr//QDnvKj70PE3G9o3D+pNqJW5/GoIMUj3wap2XnosDQe/fH+HiWkMUuHi6qwNfVs 0coQ== 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=/E+FvVs88f1HND05xl2n1Epl4vkBkAfHM8ABDPFUxb4=; b=YHEle1Aew9dOGq5b7RQ0rLufO3VSw40irO12QlBOcjz2B2CRzA5tJokKziRuxnOXsc /P/4jueZ7eCDtZOeQ2MM0PtFmE5hlrg/0Ouqc+SyCcBiXWb+SDm2JPKVGFHectxpa6B9 Ar81nGuVjKtoYUlFOdWyAc1uCh+Ve1rpbj2zOYDMNNtCKkO57txlqEVP2832X3fn1oOy okPvsxhhnrP038NXHYkUh/rmFYZzylGT/KmGkfePWV85bxq/GM7n+5cBzA5BSxM/mdj/ Jm/lyv//csGvotCOUo3Zk7ypLknpksXChYzD6VzlqkjwX5udB9k27dAK2W3KkRLtS7dT LvKw== 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 l21si739454pfc.138.2022.02.17.12.43.09; Thu, 17 Feb 2022 12:43:35 -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 S1343659AbiBQU35 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 17 Feb 2022 15:29:57 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:50126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343662AbiBQU34 (ORCPT ); Thu, 17 Feb 2022 15:29:56 -0500 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B816C332B for ; Thu, 17 Feb 2022 12:29:41 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id EE12060765A1; Thu, 17 Feb 2022 21:29:39 +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 m1OHZKLnaUQ8; Thu, 17 Feb 2022 21:29:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 8546F60765A3; Thu, 17 Feb 2022 21:29:39 +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 lh1UrxI_x2vk; Thu, 17 Feb 2022 21:29:39 +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 5231D60765A1; Thu, 17 Feb 2022 21:29:39 +0100 (CET) Date: Thu, 17 Feb 2022 21:29:39 +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: <2117074981.60920.1645129779132.JavaMail.zimbra@nod.at> In-Reply-To: <20220217201805.GC16497@fieldses.org> References: <20220217131531.2890-1-richard@nod.at> <20220217163332.GA16497@fieldses.org> <1525788049.60261.1645118835162.JavaMail.zimbra@nod.at> <20220217192726.GB16497@fieldses.org> <245552734.60874.1645128938141.JavaMail.zimbra@nod.at> <20220217201805.GC16497@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: q1XuzeijnZKTn+gLIFFS3/xbKp+siQ== 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 ----- Ursprüngliche Mail ----- > Von: "bfields" >> The reason why setting the timeout to 0 is still needed is because >> when mountd uncovers a subvolume but no client uses it a filehandle, >> it is not locked and can be unmounted later. >> Only when nfsd sees a matching filehandle the reference counter will >> be increased and umounting is no longer possible. > > I understand that. But, then if a client comes in with a matching > filehandle, mountd should be able to look up the filesystem and trigger > a new mount, right? This does not match what I saw in my experiments. The handle machted only when the subvolume was mounted before. But I understand now your point, in theory it should work. I'll investigate into this. Thanks, //richard