Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp509986iog; Wed, 15 Jun 2022 06:53:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vXdOrqCNu+CgdBcPBd0o2tuGpci7+Mj3a8wMj7E0ehKOLxAxYP/n/3DpdXXO4Sv6y2VYcw X-Received: by 2002:a17:907:ea9:b0:710:9003:9b33 with SMTP id ho41-20020a1709070ea900b0071090039b33mr8827160ejc.175.1655301189824; Wed, 15 Jun 2022 06:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655301189; cv=none; d=google.com; s=arc-20160816; b=XKHhP7Wr8a+uGh91iDZTOJS1G6dWZN2A/1EJvAfIP0BF0EeVcvgQezPaxvjc7xg8Fx ZJX0XaFvTveapSlidbdNUlxcG1VmSUv7sM4jBzf2tR6+rqakXTCxT4FLSht+ywd/YySQ XMrw6S7usmaCjWU1xiN4emtz62B7s5j0mwsFPmbXWkWZHvYICPY9vJm+UCR5mjZxTR01 ruQ3CSgfWGLU5SQ9yxNrb/RnnWhiQmd3JUfYW8bO7VvSqJ1QxdkLSc0COSQwd/yftUWD TrdimIpbXnUn4uPZZyY9XdxMq/TleprK6YKzcVYahUXO5ien07iuO9ihMq+SfUI4VB0P 4ldQ== 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=t0huwnLbsJURNRLJaNUH/RoJ0cAQwvtMevopbtoWmGw=; b=E+WuKP0L5CKxANKxqwGtiRQqNdVsGAB4CPLZRgQlemwi7uxc2UvL54/AF/S1FX0y/t 4DkSgGSXONLwxtD0FCrUlRDjDLROGmUkDfW8hkYzRqeISeGit6zXkrceyakssDLLBh4T AC7gqc3trN5SAFNHsaGonXsMRu8MQ4owBSZnpU+bMpKrl5lg1Vaf4+vZ+mbjzIq9iBqB xxCa+tYB1KaThGtLgdxEcX6Rb5z977fD7+92GaA5IURdpVYGRE+V+NV516KFFwa789p4 PL6liLEiwyRYkymIifnZnf3pWTV+en+O2e5y+MqLs/0obrK6J4bBSmvPZKkSEauLYJ0W HLMw== 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 kv11-20020a17090778cb00b00711d9021212si12848641ejc.566.2022.06.15.06.52.42; Wed, 15 Jun 2022 06:53: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; 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 S244329AbiFONlk (ORCPT + 99 others); Wed, 15 Jun 2022 09:41:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232167AbiFONlj (ORCPT ); Wed, 15 Jun 2022 09:41:39 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 911FF37A9A for ; Wed, 15 Jun 2022 06:41:37 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LNRJY00jnzjYCp; Wed, 15 Jun 2022 21:40:28 +0800 (CST) Received: from kwepemm600015.china.huawei.com (7.193.23.52) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 15 Jun 2022 21:41:34 +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, 15 Jun 2022 21:41:33 +0800 Message-ID: <72178179-cf1a-5a7b-67e1-0ceab01de685@huawei.com> Date: Wed, 15 Jun 2022 21:41:32 +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: Question about reporting unexpected wb err in nfs write()/flush() To: Trond Myklebust CC: "linux-nfs@vger.kernel.org" , "zhangxiaoxu5@huawei.com" References: <1995185dc7899aca681cf70772e8e80c4a7faddd.camel@hammerspace.com> From: "chenxiaosong (A)" In-Reply-To: <1995185dc7899aca681cf70772e8e80c4a7faddd.camel@hammerspace.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.176.52] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600015.china.huawei.com (7.193.23.52) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 在 2022/6/15 21:35, Trond Myklebust 写道: > > No! That is still special casing the way NFS treats errors vs the way > all other filesystems do. > > Either the current VFS implementation of error logging is correct, or > it is not. If it is incorrect, then let's fix it to do the right thing > for everyone. > > Either way, please stop posting these NFS-only workarounds. > Thanks for your advice, I will try to fix the sequence error mechanism.