Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp771521pxb; Wed, 13 Apr 2022 12:00:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhW+gJopGSNwB82j3Nm95Cz+1606OuvUJ67a0QLPXTcV7j+w501teVvEaBZdTZtdqd/PWb X-Received: by 2002:a17:90a:4889:b0:1cb:646b:e33a with SMTP id b9-20020a17090a488900b001cb646be33amr185071pjh.136.1649876425917; Wed, 13 Apr 2022 12:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649876425; cv=none; d=google.com; s=arc-20160816; b=znRd2oyis9dHni7Frt5rycaHFIyYKw8uBUO6yAXK3yIz7GPk4OvkfuqZOXhE4YVA7p TSs7FiZ8DHx/KFKJuiMQfDjNNuTqpq3zsULLdEaaFJIWK6+KZHDJMUv2446u/QKgWVKF 5m7IFjNhoBjN2PERhsGJPXyjNq6uOi12c/vQoXmdg5XmQ+JyeIQV0C9GyejEvgUFbEuS t9E6t0v15XnwI7zoK4CnJTLOoBOvM9+6DzYgo+QXCQbwBHvjNq2KPI1Hnqwdr+njQ6tI TslNxVpVI058TPWlhyce5g5xszqGowGhjaAFETISS21cqmZvkqVFQ6xF3VR5nDLRgSSF MtzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=j43yxY26k8a/u2ZKxuKkqGdB6YlQQa6dX6HhRWYcXWI=; b=nzk03MEMsOkIotWq86ZdAzEOsU2js2QO7ntCwJhrzaufAJy8HqzPH/HliElxnrExeZ vT6YJrSmAk8ywk9bNGbJC3l8dBQxWKC1Si3RZDXVi5eISaiTLEt2zh1mBaxJpZVvU7YX 77UcwjzNZNlWEcZXsqwWi31VcpGmzJgXzXCv4f27ExeLFpRNIqm2EEsn0faR3s1PDkbw gKsuddXnIfyY4uSwJ8K4OBNGyqhDw3/XUc2cYwM9FveXyEP55M4zcI6LVKxdvHxW/Bfm l89+iSF9HIwfdn389yMDu81ge2dl07ItvgsJcklwr2es6dHcSLelG1ZUaEU4crP46xw0 74nw== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u185-20020a6385c2000000b0039da9a719e1si3928109pgd.25.2022.04.13.11.59.57; Wed, 13 Apr 2022 12:00:25 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236146AbiDMOpN (ORCPT + 99 others); Wed, 13 Apr 2022 10:45:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236223AbiDMOpM (ORCPT ); Wed, 13 Apr 2022 10:45:12 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E51F262C90; Wed, 13 Apr 2022 07:42:50 -0700 (PDT) Received: from kwepemi500020.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4KdldR25y4zgYfZ; Wed, 13 Apr 2022 22:40:59 +0800 (CST) Received: from kwepemm600015.china.huawei.com (7.193.23.52) by kwepemi500020.china.huawei.com (7.221.188.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 13 Apr 2022 22:42:48 +0800 Received: from [10.174.176.52] (10.174.176.52) by kwepemm600015.china.huawei.com (7.193.23.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 13 Apr 2022 22:42:47 +0800 Message-ID: Date: Wed, 13 Apr 2022 22:42:47 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH -next 0/2] fix nfsv4 bugs of opening with O_ACCMODE flag To: Lyu Tao , 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" References: <20220329113208.2466000-1-chenxiaosong2@huawei.com> <68b65889-3b2c-fb72-a0a8-d0afc15a03e0@huawei.com> <0b6546f7-8a04-9d6e-50c3-483c8a1a6591@huawei.com> <3ee78045f18b4932b1651de776ee73c4@epfl.ch> From: "chenxiaosong (A)" In-Reply-To: <3ee78045f18b4932b1651de776ee73c4@epfl.ch> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.176.52] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600015.china.huawei.com (7.193.23.52) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 在 2022/4/13 22:16, Lyu Tao 写道: > Got it. Thanks! > > > By the way, is this bug related to commit ac795161c936? Or have you > tested NFS using your PoC on the version only with commit ab0fc21bc710 > (without commit ac795161c936). > > > Best, > > Tao > I am also confused ac795161c936 ("NFSv4: Handle case where the lookup of a directory fails"), this bug reported by you is not related it, I don't know why Trond create this patch.