Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3825871rdh; Tue, 28 Nov 2023 05:06:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFG24gQnFVa9PIXOZePVndXNjWUst+DAqfvAaWmT3Q5TcgBN2pIwvMM6san3DF36VF31w8 X-Received: by 2002:a05:6a20:42aa:b0:187:9ff3:98ac with SMTP id o42-20020a056a2042aa00b001879ff398acmr16153528pzj.4.1701176799627; Tue, 28 Nov 2023 05:06:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701176799; cv=none; d=google.com; s=arc-20160816; b=yR+shyJnq60bxzd48E8/uXB2ml/aScTMOJKbFF9s04lnBYScsnkx9kV9agviPRkq1R v75/2H5IU+X0qMbtq9RdbMB0YZMfP6LgaWJmY0b5oDrqNhNgZaSixZXSEEMPnsBcgSYd J8lg2tSp5aLEHwdhZiv2sDx6D1tV4wAhf4MMMsNgfiUNHCql03CaVQCN/O52wH6WVW0H 1hml8mDVXYRIwHVVUJKBsKZurDWORNeJMA0msrT2f9aCavK9M/09ZUnFaM3FDS8+viGI RcArKjy0BXG2bSqsafxb/0wP7LAWJr/lz3WCJ64P5C/o6d5SZsXIxxa3Ar79OLIEABDE ff6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cr39bMb58vJt4rWebaEN0xNgrMpZlAXuU3PDJK++r/U=; fh=F5Lg7xofaG18AmV7191EpKWLswL56QYCegdcSTDi/Y8=; b=d7PcTXbrd6rqImVyjnHc5+z3SgPN8wEQRdS1+CNUYENoayS8DOpeHZiaklrwGGNYOR 35X7aDViElm3Bd6V2dYaYfwF5jFFNs3G46DbCrL8VGF1QFeVLbfTAfT+HGQ1zCq2Q/EZ UxPioDe+tzkUl3cGluIAUzgIiXHhdeD1TQpdg8zN1bCh76o2ZXjMljhlhADcouHWk970 RKveUrktulTjYtfyZgCHOY4HS+pGA3MsKFqOOHr8aagtcFJg59ApnKnVR1VP8a5shT2r bWg9FKiITTIebEn66rHvoFI257YwbhNAgdQIY1j1+PXfGzb8KIiAYVTe0plLo8Y2aueB njhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gmYBIYBN; spf=pass (google.com: domain of linux-nfs+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 8-20020a631448000000b00578b9fb24f6si12016830pgu.616.2023.11.28.05.06.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 05:06:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gmYBIYBN; spf=pass (google.com: domain of linux-nfs+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org" 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 6FE40B212C4 for ; Tue, 28 Nov 2023 13:06:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F1354F88D; Tue, 28 Nov 2023 13:06:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="gmYBIYBN" X-Original-To: linux-nfs@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D1D1D6D for ; Tue, 28 Nov 2023 05:06:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=cr39bMb58vJt4rWebaEN0xNgrMpZlAXuU3PDJK++r/U=; b=gmYBIYBNRFvWSmeRdmZd1erwaQ YO1Dh2A+/bJc4sdrfUimfBLXSQ1s5c0vv5sUchbgMfipR4aVQPcFKsPFhVoiou71Ti+xt0QwxA+tW grZ4hZvp3sjWjoeJpZFybps9iLD90OAS+nh57sFl2tMJ9A94tezB9l1NJY2yuq3a/maHqJzMOnGdC ODxUJE/qAbvW3fWeFo76ZpaLy4s7ln26/VCvHznLYwTqazx27nI8WmlbeYEbImV1F6IOPgN+IBq5U x9ikNXD7S4YuNxS8/u+Fo9lBFGjI7Gr4gSfsh/a6dPLkYGMD2RpXwckMDK4PADAwJYdMEGbIGjWEP zw5XtYQQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1r7xnF-005M5V-2T; Tue, 28 Nov 2023 13:06:25 +0000 Date: Tue, 28 Nov 2023 05:06:25 -0800 From: Christoph Hellwig To: Chuck Lever III Cc: Christoph Hellwig , Tao Lyu , Trond Myklebust , Linux NFS Mailing List Subject: Re: Question about O_APPEND | O_DIRECT Message-ID: References: <2d948b43fa625952e50589e4bedf9551df7ee112.camel@hammerspace.com> <7d2d17e4d3904d29b75fadcfd916b2a3@epfl.ch> <7E2914D2-B9AB-4280-9A44-875DA8B58328@oracle.com> <52559C84-A251-4CAD-8BDF-B1B2EA4DA390@oracle.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52559C84-A251-4CAD-8BDF-B1B2EA4DA390@oracle.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html > I said "proof of concept" -- obviously you don't want this kind of > racy arrangement as a long-term solution, you just want something > that works with current server implementations for experimentation. > > And, if the above WRITE succeeds, the client would know exactly > where the server placed the payload in the file. But I'm not sure how this proof of concept helps me to prove anything except that this method sucks :)