Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2477598imi; Sun, 24 Jul 2022 22:20:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tiKD9z3y2OrQA67zHmtvUaxDq5S7xduSf4ElNfb5ojkn0SFUVloeIOZkQrjYl6vVira6kp X-Received: by 2002:a17:906:8a45:b0:72b:31d4:d537 with SMTP id gx5-20020a1709068a4500b0072b31d4d537mr8710634ejc.170.1658726409146; Sun, 24 Jul 2022 22:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658726409; cv=none; d=google.com; s=arc-20160816; b=ipqEtpUwF7ioXZbLS1YNx8dvVqgRTx9hPBjtMa6JqxQ2QxEOmq0RkW8DzGnJdXtTqG ntZ4Y9vSfh3KmR9zMI9sypOZCry6U8N+q7v+Fv91X0xm6xxuZktjCKCm7HB7DbTq7HpD zzZoiws/BjfUADURaf6rK71v36vDuzhktPcMRpmEov8vAmnuPbf/3vGP0utpmnIepeUK +vNF4GkUe3R9jQZvKwUI3fosQAmubprz/xKRLyrOpaKXuY1vZVBBo2IldeIxNDmeZenF Aay4EbP/ukwwQ8ooBEqAihmyaEvq/ec0SgjC1nskXgV+tyhPJrlyCyaqW7aITvWz4FnT oleA== 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=HIH2kPKMOVgbCGyqlsXeL4jJaBpZo2x6Bx6JcO3teDc=; b=KXOy3VW31FvnQ2J+IKZ+z5fGhJnD0pH+rn1i2ykXKc6fiZJUPcojGgxVYNF6yS/hh7 oG/q/y2xjzYe3fSHmbKwW3/zuV07akpkV/iRV4QSIt2DxbMTIE+QDL5NE7wr55C4ompo 02wIeqYTLoV35+ziQRQj4R8VYrssnuS6FwfDmlqd2lGwabzTd8Vjl8VTcGq5QwcAL5XA 0S7kYGRKMa4FugmzwImHts6TpEG+81sa5wk4uuxF6TnjuuTjrL6VNhIUdF+3Z8G90z1b tocCPEhVhiBsnNuCGtgc90PLN4OyLFF+wUW0FwIBf7sx85YzszZssbR2R/9tSAYWd809 iKqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OKXU9cXu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="p2w31/h/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt11-20020a170907728b00b00718c7b4cc10si9500672ejc.127.2022.07.24.22.19.33; Sun, 24 Jul 2022 22:20:09 -0700 (PDT) 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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OKXU9cXu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="p2w31/h/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbiGYEq1 (ORCPT + 99 others); Mon, 25 Jul 2022 00:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbiGYEq1 (ORCPT ); Mon, 25 Jul 2022 00:46:27 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56023BCB4 for ; Sun, 24 Jul 2022 21:46:26 -0700 (PDT) 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-out1.suse.de (Postfix) with ESMTPS id 67451341CD; Mon, 25 Jul 2022 04:46:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1658724384; 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=HIH2kPKMOVgbCGyqlsXeL4jJaBpZo2x6Bx6JcO3teDc=; b=OKXU9cXu8GWwRUUlABU9sbkNCIAqLpLjfq1g56Oo6gwCwzwJdLxObXuZwYqoZ4zczAUoul pvzY4qjXtnqpkUOvC9ApMNHwamZy6fMhSTT5MVkkRMyJwW/bMqDz+y9uWv66n5BmTs1hXG LkFs9b+KwpNQfbr4G/je41zf20kuEkI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1658724384; 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=HIH2kPKMOVgbCGyqlsXeL4jJaBpZo2x6Bx6JcO3teDc=; b=p2w31/h/jHZz0UM0Ke5OzRfvs1dYVEqNE0ZzkWZr7tiM+kP2G4k2bj43rLB8OVfiRv6iOC u33IpgyqPBYYZvCg== 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 4709013A8D; Mon, 25 Jul 2022 04:46:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 5YpyAR8g3mJoHQAAMHmgww (envelope-from ); Mon, 25 Jul 2022 04:46:23 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "NeilBrown" To: "Chuck Lever III" Cc: "Jeff Layton" , "Linux NFS Mailing List" Subject: Re: [PATCH 0/2] nfsd: close potential race between open and delegation In-reply-to: References: <20220714200434.161818-1-jlayton@kernel.org>, <165784314214.25184.13511971308364755291@noble.neil.brown.name>, , <165811450205.25184.16800980627192339653@noble.neil.brown.name>, Date: Mon, 25 Jul 2022 14:46:16 +1000 Message-id: <165872437607.4359.14496861113580730818@noble.neil.brown.name> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 On Tue, 19 Jul 2022, Chuck Lever III wrote: > > > On Jul 17, 2022, at 11:21 PM, NeilBrown wrote: > > > > But right now I have a cold and don't trust myself to think clearly > > enough to create code worth posting. Hopefully I'll be thinking more > > clearly later in the week. > > Thanks for the update! > > Here are my plans: I'd like to finalize content of the first 5.20 > NFSD pull request this week. If these patches are not ready by > then, I can prepare a second PR later in the 5.20 merge window > with your work, which should give you another two weeks. If they > are still not ready, I'll get them in first thing for the next > merge window. FYI I've addressed the outstanding issues (I think), but have not yet done any testing or given the patches a final inspection. I hope to do that tomorrow, and will post the patches once it is done. If you want a preview you can find them on github.com/neilbrown/linux in the "nfsd" branch. Jeff's patches to validate delegations after getting the lease, so we don't have to hold the lock so long, comes first. NeilBrown