Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3247320rdh; Mon, 27 Nov 2023 09:23:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1S/+dl+yNX/igfwAcpEJDVOAtSmJciK4Sm5dVD4hJBm7DwImxhfvOf5RXrmViCshcMt4d X-Received: by 2002:a17:902:82c2:b0:1ce:654a:8210 with SMTP id u2-20020a17090282c200b001ce654a8210mr12878199plz.47.1701105824543; Mon, 27 Nov 2023 09:23:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701105824; cv=none; d=google.com; s=arc-20160816; b=KpiBjNv37m8sI/EzLPcBl2U2Eq5SSCCD91ankhCZlsEQCD/ADVUmQPzSsNXdIMQ1VD ZB1U50W8M+8rZsg8sVzNMvmlvAfsNdUAE98+UAscJ+Hc7CLTSpnfSuzABvJn4VQplug0 RUCmmD1fLHBKsVvNQHzQfgQIMhO1GEQ+2NDm86o4JcWB8un8ONoEAoRNWLmxjx6sAv7f VHQ9vp/UDPGDrtVAuyp5YxsPoVr1C1KqQ2iaIMuiZczeU9UWuvEkzlcXXRE18hEqwHag 85deSn6NRin5uwbQefCbUIer8nAX39yyXKlvYW4Tt8KZSc/a9+5PNAmujSWDrJJgabsX 9Dog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :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=N8iQsjovET5/ng2xE2gL+ZpwgBdfDCb3pC++/JBMfik=; fh=bcAfDEPm0UNYi2uG1CjtoOf9nDykaDFY2KjNVMh7yCA=; b=bKEStlFr08gU+2krx/zq3jkz3gXSkvZBWmAGg2OlD8R/oazBImjko7cONtxaSy45RR VYeizMQ2CYfCaUgEYLR307dn9EW2OR7puhN15o7C2XeQJfmfFtxi2svh6bereQ1/3Tf9 B47xr4g9bnntB7BeoYJYsvPEBv2QHA4a4jgT1vP4HIEoB3fHvHKbUrKUlK7/p+YNiipu 2+lDnp1DP6Zryj/hu2NufTb1OLfEvUlccn6paAjbRTiEb0BMgvO+pYV+e33nYlvmjZ6i iPcGEzcKirgcfEJUNClFXnAehq+PZBVmQT9mabWbnrrU8yt5IitfgVO7Ik2cyNZ6CVIF bsig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@epfl.ch header.s=epfl header.b=1FD1CUdX; spf=pass (google.com: domain of linux-nfs+bounces-107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=epfl.ch Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u14-20020a170903124e00b001cdf9395a2asi10280895plh.420.2023.11.27.09.23.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 09:23:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@epfl.ch header.s=epfl header.b=1FD1CUdX; spf=pass (google.com: domain of linux-nfs+bounces-107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=epfl.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7D816B209D3 for ; Mon, 27 Nov 2023 17:23:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC5563716E; Mon, 27 Nov 2023 17:23:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=epfl.ch header.i=@epfl.ch header.b="1FD1CUdX" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp0.epfl.ch (smtp0.epfl.ch [IPv6:2001:620:618:1e0:1:80b2:e058:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEB5085 for ; Mon, 27 Nov 2023 09:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=epfl.ch; s=epfl; t=1701105812; h=From:To:CC:Subject:Date:Message-ID:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=N8iQsjovET5/ng2xE2gL+ZpwgBdfDCb3pC++/JBMfik=; b=1FD1CUdXUrWrxsKPqpBrUyq1po1T7RaMimJvRtDYyO0NCBnMFazjtUMdUnLAy8yXB mSo1dDI7ctboHcmTwXGXH1CWL3ln9K+vxTdkhnNwiZ94S5AkK6mVbcxZfk/kn9f6e DUyeJpqSMQ9QsrFBwWbQEVPZ6GaEz3alNRR0eTYic= Received: (qmail 15758 invoked by uid 107); 27 Nov 2023 17:23:32 -0000 Received: from ax-snat-224-179.epfl.ch (HELO ewa08.intranet.epfl.ch) (192.168.224.179) (TLS, ECDHE-RSA-AES256-GCM-SHA384 (P-256 curve) cipher) by mail.epfl.ch (AngelmatoPhylax SMTP proxy) with ESMTPS; Mon, 27 Nov 2023 18:23:32 +0100 X-EPFL-Auth: JfOClGE7A8BqlrB59yN2XhdSolh5SNC+7+ugPh94cRJNiwGt678= Received: from ewa07.intranet.epfl.ch (128.178.224.178) by ewa08.intranet.epfl.ch (128.178.224.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Mon, 27 Nov 2023 18:23:32 +0100 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.2507.034; Mon, 27 Nov 2023 18:23:32 +0100 From: Tao Lyu To: "hch@infradead.org" , Trond Myklebust , "chuck.lever@oracle.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: Question about O_APPEND | O_DIRECT Thread-Topic: Question about O_APPEND | O_DIRECT Thread-Index: AQHaHjflhODFfyeMXUSkxSGiPt/2HLCLuRkAgAKTcNCAAAYXgIAACNMAgAADIoCAABEw1g== Date: Mon, 27 Nov 2023 17:23:32 +0000 Message-ID: References: <2d948b43fa625952e50589e4bedf9551df7ee112.camel@hammerspace.com> <7d2d17e4d3904d29b75fadcfd916b2a3@epfl.ch> <20107e878f185628a8d498ebb046e55618abfd4f.camel@hammerspace.com>, In-Reply-To: Accept-Language: en-US, fr-CH Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Trond, Christoph, and Chuck, I understand it. Thanks a lot for your explanation. Best, Tao=