Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1300148pxb; Thu, 14 Apr 2022 03:07:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyag1T199xI3RKgURZd0FY0rxsyALADnuzQ2AiSskaKR6q/3uSy8517ErYr/RP6RI7Hcn6X X-Received: by 2002:a17:906:2bd7:b0:6ce:698b:7531 with SMTP id n23-20020a1709062bd700b006ce698b7531mr1578698ejg.146.1649930832886; Thu, 14 Apr 2022 03:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649930832; cv=none; d=google.com; s=arc-20160816; b=pbdCoNLaW4ae98QztAnEBnFyhB775Q4F1DE25ZRUyiftgsQVnLmKRiccIU9hW5dw6T tHFsi7jS44mh6OUd2GW5/hG6DhZ3+CcrYE2bF+64K9vdpSpXvToXP5gxiYztOPqoYQmi SnqUApMKDjsQsZSoezJcQKOGhhWhFZazErEfTXWYBr+25D8et+ULJjOW7Ln4TSfZ26xo YxdurunZh9uhTMh7LGYn9tqbaW0eJH3WwsCvvfY6b5HADZ9fElLvqAwtqVL50Q1YZuHJ VmhOCILukH+II6gLe6GKXfm6kZgBSS1R6JSxZi+T1aXbwHA0dkAgrw+RyURpQZZgYjtr hB6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=mEgjtCoTKQpDlyOYjMdOl5zQO9O84yOnOduKLc6NT5c=; b=xut+b1BEP8/+IXus6Pn5kKoFfzMETcSzTqu7LTH8kV8Wdtg8h/qJVnyRLqa0dwLp8S h8MZwJ9BEa/ugJ5DUxUAfpfjqRtWNIT+tYneXwTTgNwXMOATSLThWVfRN10wKM3x53SO XPiCPXTmvuhvz9RsIVIf8RfYcUDYx84vrBIRWgxg3ODUeOOM99l0T3hERzDfiz4UmC7T ttB8qMjUICsU6KLYPvQDlAlE4NpvpXQWRAU8pmfv8iI1qTjMw/TD7eOtyqkKgAMXoMx4 T1f6hq7I3EbVxsOW6VT/LLukh7mx4hekKW0j+3ngPY0XiUqKOnt4/rX/8vEcmAG334Hi MGdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@epfl.ch header.s=epfl header.b=jYwAXBDy; 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=QUARANTINE sp=NONE dis=NONE) header.from=epfl.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a056402358f00b00418c2b5bd7esi3705195edc.96.2022.04.14.03.06.35; Thu, 14 Apr 2022 03:07:12 -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=@epfl.ch header.s=epfl header.b=jYwAXBDy; 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=QUARANTINE sp=NONE dis=NONE) header.from=epfl.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240371AbiDNHg3 (ORCPT + 99 others); Thu, 14 Apr 2022 03:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240360AbiDNHg1 (ORCPT ); Thu, 14 Apr 2022 03:36:27 -0400 Received: from smtp4.epfl.ch (smtp4.epfl.ch [IPv6:2001:620:618:1e0:1:80b2:e059:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAA6C3EA84 for ; Thu, 14 Apr 2022 00:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=epfl.ch; s=epfl; t=1649921637; h=From:To:CC:Subject:Date:Message-ID:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=mEgjtCoTKQpDlyOYjMdOl5zQO9O84yOnOduKLc6NT5c=; b=jYwAXBDyVgPCPEwBTOc5CiPx4He4ACBtnvLFE7DDzYlDtHMlNS0Bj+lCsyXcECKXJ omESDTnBzenZWrXH4d9YTYMEs25fc3T2nAftUSl1nsWeARMFe0D35NETYZD4sNE42 BXWELxxuUJ/EgFKH36L350bJhzfJegyKWUHrwk0Lo= Received: (qmail 57937 invoked by uid 107); 14 Apr 2022 07:33:57 -0000 Received: from ax-snat-224-186.epfl.ch (HELO ewa11.intranet.epfl.ch) (192.168.224.186) (TLS, ECDHE-RSA-AES256-GCM-SHA384 (X25519 curve) cipher) by mail.epfl.ch (AngelmatoPhylax SMTP proxy) with ESMTPS; Thu, 14 Apr 2022 09:33:57 +0200 X-EPFL-Auth: CZt9fkWZbvd0KTvik+0w++xgCfXP2WMJ0UuHl3KK5wTnQdKluvw= Received: from ewa07.intranet.epfl.ch (128.178.224.178) by ewa11.intranet.epfl.ch (128.178.224.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.24; Thu, 14 Apr 2022 09:33:56 +0200 Received: from ewa07.intranet.epfl.ch ([fe80::f470:9b62:7382:7f3a]) by ewa07.intranet.epfl.ch ([fe80::f470:9b62:7382:7f3a%4]) with mapi id 15.01.2375.024; Thu, 14 Apr 2022 09:33:56 +0200 From: Lyu Tao To: "chenxiaosong (A)" , Trond Myklebust , "anna@kernel.org" , "bjschuma@netapp.com" CC: "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "liuyongqiang13@huawei.com" , "yi.zhang@huawei.com" , "zhangxiaoxu5@huawei.com" Subject: Re: [PATCH -next 0/2] fix nfsv4 bugs of opening with O_ACCMODE flag Thread-Topic: [PATCH -next 0/2] fix nfsv4 bugs of opening with O_ACCMODE flag Thread-Index: AQHYQ16YLIpFlrH2FUmiiFZ5HnfMO6zWS0oAgBdxzEuAABNUgIAABmuAgAAjKin//+c4gIAAL0qEgACZlICAAHFaAQ== Date: Thu, 14 Apr 2022 07:33:56 +0000 Message-ID: References: <20220329113208.2466000-1-chenxiaosong2@huawei.com> <68b65889-3b2c-fb72-a0a8-d0afc15a03e0@huawei.com> <0b6546f7-8a04-9d6e-50c3-483c8a1a6591@huawei.com> <3ee78045f18b4932b1651de776ee73c4@epfl.ch> <55415e44b4b04bbfa66c42d5f2788384@epfl.ch>,<88231dee-760f-b992-f1d1-81309076071e@huawei.com> In-Reply-To: <88231dee-760f-b992-f1d1-81309076071e@huawei.com> Accept-Language: en-US, fr-CH Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.178.116.84] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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,T_SCC_BODY_TEXT_LINE 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 RnJvbTogY2hlbnhpYW9zb25nIChBKSA8Y2hlbnhpYW9zb25nMkBodWF3ZWkuY29tPg0KU2VudDog VGh1cnNkYXksIEFwcmlsIDE0LCAyMDIyIDQ6NDEgQU0NClRvOiBMeXUgVGFvOyBUcm9uZCBNeWts ZWJ1c3Q7IGFubmFAa2VybmVsLm9yZzsgYmpzY2h1bWFAbmV0YXBwLmNvbQ0KQ2M6IGxpbnV4LW5m c0B2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLm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