Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1377055ybt; Thu, 18 Jun 2020 07:21:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzO7zRnWEoSRwI4yfbSlsbwkwTLnK2dGAfrhn2nxHZccXHee7dV4lpoHGZYNJYxWsyc2i9R X-Received: by 2002:a05:6402:1ca2:: with SMTP id cz2mr4071943edb.15.1592490099364; Thu, 18 Jun 2020 07:21:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592490099; cv=none; d=google.com; s=arc-20160816; b=oB2oVAPG1bfGXY/Tz0io+rm3Q3AADpk8e1Scy4l2hRqTIdCPSJJOmc23dnb69F+IPk iRP/AP0n1fXhSpRoIpJg5TEL6g3RNwfdaiV45Zf9CbJwVgmMeGzqdHPvQnUdLdbKY0Zb nzOk9cgh3t6Z18G5GtHs3vzMSMy9nTxBQ0d3vJe/OGfAzQTWFpALZ1L4hFGqHnaBTz67 be5y6BSf3Nf4SNnpDREgd1gKljGkNGoWDd95N1OwYypvH/e9bFlZGPb7uQnqeTy5KrUo IU6AHLEg3GKOydpFoQ+lqkdS5UxaeWQ/2ZI2Vu6pNnH4u8+NrZaijnuP56IAPhzfBlfD fiKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=59v7DL+Q6M0O6agqJhZf72SPocZXRPqx3iv/O5eS9Zk=; b=AXrHZBLYDHoREmk9cmWifQv/msOBjKxiXbGCm67RLv3aoGLO1ZLULBPU0wuHoDd1Ox Qc/dwzu9ViCwoXtm0WeKJtfzhyxRmQOEVr6zorbq7+gLCEdKx9np26ZGm13RfX+20Xif Tj93Rzs1GANXYa9qc3cyc5w8cU6rSgttpl9UNgeOIrex2pRZ4Mk3yP/HUVBZLGqO+ANA tHl+rLgQqFTDSxEm9vaT1q+chIemB0wpcZsUsHvIKvtSHiY3HQQOSI8+ZPqx8rfKqrdJ xqq7/AVXEAQ+mEyXQhloDFj9cxFK3sYtyY7lFIKKJumsjxBU9gBEwKh23ZvJ61Pe6rin meWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=frBBXjmK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jt19si1766457ejb.389.2020.06.18.07.21.16; Thu, 18 Jun 2020 07:21:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=frBBXjmK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730707AbgFROQv (ORCPT + 99 others); Thu, 18 Jun 2020 10:16:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730277AbgFROQu (ORCPT ); Thu, 18 Jun 2020 10:16:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9A4C06174E; Thu, 18 Jun 2020 07:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=59v7DL+Q6M0O6agqJhZf72SPocZXRPqx3iv/O5eS9Zk=; b=frBBXjmKpVtAc+AqKk5DD8LQNU wbXudAS7/WiZVQ1wkOg5A1ixxX85phlK37al49JjUr3uf6dYnpaQrHmHDThIfg/5T2KcquAjDchIJ 5tbQR1JRhwgA8oiv/tbO5pI+PrShy4gU8oT5ZvztmYtlogsPm4n6sNtO33CkT5OGOrwMhquvwhgeA FC6kTYlBxc43qy5rcUEsh9gLh7ZLSPn2l/HnHnJePiJizDk7EPysFbh5hxYI8YP/llFbTe0uMMwzd nXmSN6L/g4upY7k4bzc+G1g2Fnu3gFfd95Y4PN1fvigpZVS+rQYFnfavVmMWaToR0PCyznDj3IR8T 0pGOqomA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlvLQ-0002tV-UP; Thu, 18 Jun 2020 14:16:44 +0000 Date: Thu, 18 Jun 2020 07:16:44 -0700 From: Christoph Hellwig To: Matias =?iso-8859-1?Q?Bj=F8rling?= Cc: Kanchan Joshi , axboe@kernel.dk, viro@zeniv.linux.org.uk, bcrl@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-aio@kvack.org, io-uring@vger.kernel.org, linux-block@vger.kernel.org, selvakuma.s1@samsung.com, nj.shetty@samsung.com, javier.gonz@samsung.com, Damien Le Moal , Keith Busch , Christoph Hellwig Subject: Re: [PATCH 0/3] zone-append support in aio and io-uring Message-ID: <20200618141644.GB16866@infradead.org> References: <1592414619-5646-1-git-send-email-joshi.k@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 18, 2020 at 10:04:32AM +0200, Matias Bj?rling wrote: > Please provide a pointers to applications that are updated and ready to take > advantage of zone append. That is a pretty high bar for kernel APIs that we don't otherwise apply unless seriously in doubt. > I do not believe it's beneficial at this point to change the libaio API, > applications that would want to use this API, should anyway switch to use > io_uring. I think that really depends on the amount of churn required. We absolutely can expose things like small additional flags or simple new operations, as rewriting application to different APIs is not exactly trivial. On the other hand we really shouldn't do huge additions to the machinery. > Please also note that applications and libraries that want to take advantage > of zone append, can already use the zonefs file-system, as it will use the > zone append command when applicable. Not really. While we already use Zone Append in Zonefs for some cases, we can't fully take advantage of the scalability of Zone Append. For that we'd need a way to return the file position where an O_APPEND write actually landed, as suggested in my earlier mail. Which I think is a very useful addition, and Damien and I had looked into adding it both for zonefs and normal file systems, but didn't get around to doing the work yet.