Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1596795ybt; Thu, 18 Jun 2020 12:26:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqwtGOfMift+DmGdGKb51nsa1MSr8Tpr4fAdsfFQunkO1C/131jxpRQIVdTKEzgU4xElw1 X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr5508251edt.166.1592508413987; Thu, 18 Jun 2020 12:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592508413; cv=none; d=google.com; s=arc-20160816; b=fzcsXIEiTKt4s5Ze9fZuQ5UYwEkpuWZ29hi6JICVND+2sWc5Qnrk1GruBAvla5u2/3 PfI05OWSDQwkwoU83lKDiv7Ogu1t/qLkwwhx13pvZoOL3/Lhtvx7bbFXy822Kd/b7Yzc /Cn3YFqcDsTcMLFWe7BAKKBdhknOIDrgO8z2RbdWcgO8Z493QvVy4DVwkTmNavU4OTcp Bl53CdKFowFVI/ahsmpdYGlzVveepw44PKqVRFdg91O+huNMxqBYPrpKLZyIxkzQEg+p CWhBhpQVF1x2Nd/tbISPy2gBCLLzZzFJZ7unV6i2iCteIh4INFNB0Ju7RA6ohx6kYA0x RNEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:user-agent :in-reply-to:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=PNDwEXUhe4Z5R6YzmbzYY6hZ1xH0XR1DBPEnNK7p1tI=; b=hnCvtIF2wQ3cKhQHR4sFErU9QCrlnZZZ5NBFYQC6HAVW1tpk9Vhh6drQdU3C+TXgxX yA6sobuoc5fpcRKLYRizkbvlrdHT37r3B5kL67zTa3EE4IOCOmmpJay/ARd4uDrMh+Dr 8GvZZc9le0m7sdmYUYOsWOZvEPpuHqPpcIqXzRf5K3Q1aczhSSOnA6ggtBe0dZH4Th/S JDpLyEc9npbGieKHXNwjnaw0HPHcO2LAmBpHYBi4ShoL/kGVxaYG6JlxAupFCtqOYrGr yhalwOq0GU7A5EB0WilwVF0Xb9evd1fFuCXSjO11JdyNs86atyfIEKc8iN8fHVfsT6gW t7rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=gSvCIwSM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id um1si2127012ejb.200.2020.06.18.12.26.30; Thu, 18 Jun 2020 12:26:53 -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=pass header.i=@samsung.com header.s=mail20170921 header.b=gSvCIwSM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728069AbgFRTYS (ORCPT + 99 others); Thu, 18 Jun 2020 15:24:18 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:29579 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726909AbgFRTYR (ORCPT ); Thu, 18 Jun 2020 15:24:17 -0400 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20200618192414epoutp044846696215b5999662abed554e62ed68~ZudHQ2owA0579605796epoutp04g for ; Thu, 18 Jun 2020 19:24:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20200618192414epoutp044846696215b5999662abed554e62ed68~ZudHQ2owA0579605796epoutp04g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592508254; bh=PNDwEXUhe4Z5R6YzmbzYY6hZ1xH0XR1DBPEnNK7p1tI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gSvCIwSMNkwT6mFZWmXx/XB5yHHyhwYxHLv8pRu9hl2DOHprQSdUTXHNDHGLmrE0/ OowWmwe5xQp6CN8a5uf/Pv5wE5Jd/xFB5YWPxO+uxKI1a9DMxE2TGC2xZqxypkkfsL Se5n/puefpwSL4rnt3Tz+JXhat9XKR7wuLGktbE4= Received: from epsmges5p2new.samsung.com (unknown [182.195.42.74]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20200618192412epcas5p2cfa4400050784112b5770049bd872e0e~ZudF5DtoL2132421324epcas5p2a; Thu, 18 Jun 2020 19:24:12 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 02.B4.09703.C5FBBEE5; Fri, 19 Jun 2020 04:24:12 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20200618192411epcas5p125327503f93cafa1d019052f00e54946~ZudEu7YuE0642806428epcas5p1b; Thu, 18 Jun 2020 19:24:11 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200618192411epsmtrp1be04fabaafb545c456cfff7ca2250b59~ZudEuEM1J2323623236epsmtrp1G; Thu, 18 Jun 2020 19:24:11 +0000 (GMT) X-AuditID: b6c32a4a-4cbff700000025e7-a0-5eebbf5c8a50 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id B7.F1.08303.B5FBBEE5; Fri, 19 Jun 2020 04:24:11 +0900 (KST) Received: from test-zns (unknown [107.110.206.5]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200618192409epsmtip1ebaea2b37a4874e993f7a9a07d76a840~ZudCksJZi2274422744epsmtip1D; Thu, 18 Jun 2020 19:24:08 +0000 (GMT) Date: Fri, 19 Jun 2020 00:51:53 +0530 From: Kanchan Joshi To: Matias =?utf-8?B?QmrDuHJsaW5n?= Cc: 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: <20200618192153.GA4141485@test-zns> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNKsWRmVeSWpSXmKPExsWy7bCmhm7M/tdxBgvOy1usvtvPZtH1bwuL RWv7NyaLlauPMlm8az3HYvH4zmd2i237D7JZTJnWxGix95a2xZ69J1ksLu+aw2axYvsRFott v+czW1yZsojZ4vWPk2wW5/8eZ3UQ8Lh8ttRj06dJ7B7dV38weuy+2cDm0bdlFaPH501yHu0H upk8Nj15yxTAEcVlk5Kak1mWWqRvl8CVcfnUEpaCm7wVzV3rGBsYz3N3MXJySAiYSExcc50F xBYS2M0o0XUlpYuRC8j+xCgx/8BiZgjnM6PExXUdjDAdjec6GSESu4CqJm5kg3CeMUocvn2E CaSKRUBVYvvyiUBVHBxsApoSFyaXgoRFgJpX904Ha2YWaGGW+NK0mBUkISzgIHFj/kywDbwC +hL/fk1kgbAFJU7OfAJmcwrYS1zY/gNsvqiAssSBbceZQAZJCDzhkDi2bT7UeS4Sq/4+Yoaw hSVeHd/CDmFLSbzsb4OyiyV+3TnKDNHcwShxvWEmC0TCXuLinr9gG5gFMiQuvt7CBmHzSfT+ fsIE8o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i6GlGiemTz7BC JAQlTs58wgJiMwuYSczb/JAZZAGzgLTE8n8cEGF5ieats5lBbE4Be4kL238wgdiiAsoSB7Yd Z5rAKDQLyaRZSCbNQpg0C8mkBYwsqxglUwuKc9Nziw0LjPJSy/WKE3OLS/PS9ZLzczcxgiNV S2sH455VH/QOMTJxMB5ilOBgVhLhdf79Ik6INyWxsiq1KD++qDQntfgQozQHi5I479dZC+OE BNITS1KzU1MLUotgskwcnFINTE0xDCKKdlW6937I9TyceG7aqYlp0xxvPZvvKLxs7tJL3lf3 hna9ur3p0xqdsCDVlSZGq0LVE0Ocb4QodDQ+eaSVku2jUeH6PLzB+WCiFGfxwk75HxNf9jvH lmurHipucPmnnea6p5I1cnq3AY/LnHilFNvgd/9bI2Tdl8V3sc0Qbdnl9vHYmzWWs8MzDmzr YPnjoDixxVF4RdGrur50e9UPTVX6Vlx7wzea6q79IBFhy7tJ5LQgQ06Q+JM9ByboPQwt2q/M syr7SwIfC69FadJU1bMPLs3f/FWa4cjyuKqUuTOfXng6e6vFv/QrO6/+rlXn/vDj0LmehXdC ba+el2S6szWiNlB0dvqT3I2nlViKMxINtZiLihMB/ZbRc0MDAAA= X-CMS-MailID: 20200618192411epcas5p125327503f93cafa1d019052f00e54946 X-Msg-Generator: CA Content-Type: multipart/mixed; boundary="----O02wVW_TA_CRdKetSaQOVhdyQBrcCciqckW4gUYQTxE5eUA6=_781db_" CMS-TYPE: 105P X-CMS-RootMailID: 20200617172653epcas5p488de50090415eb802e62acc0e23d8812 References: <1592414619-5646-1-git-send-email-joshi.k@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ------O02wVW_TA_CRdKetSaQOVhdyQBrcCciqckW4gUYQTxE5eUA6=_781db_ Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Disposition: inline On Thu, Jun 18, 2020 at 10:04:32AM +0200, Matias Bjørling wrote: >On 17/06/2020 19.23, Kanchan Joshi wrote: >>This patchset enables issuing zone-append using aio and io-uring direct-io interface. >> >>For aio, this introduces opcode IOCB_CMD_ZONE_APPEND. Application uses start LBA >>of the zone to issue append. On completion 'res2' field is used to return >>zone-relative offset. >> >>For io-uring, this introduces three opcodes: IORING_OP_ZONE_APPEND/APPENDV/APPENDV_FIXED. >>Since io_uring does not have aio-like res2, cqe->flags are repurposed to return zone-relative offset > >Please provide a pointers to applications that are updated and ready >to take advantage of zone append. > >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. > >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. AFAIK, zonefs uses append while serving synchronous I/O. And append bio is waited upon synchronously. That maybe serving some purpose I do not know currently. But it seems applications using zonefs file abstraction will get benefitted if they could use the append themselves to carry the I/O, asynchronously. ------O02wVW_TA_CRdKetSaQOVhdyQBrcCciqckW4gUYQTxE5eUA6=_781db_ Content-Type: text/plain; charset="utf-8" ------O02wVW_TA_CRdKetSaQOVhdyQBrcCciqckW4gUYQTxE5eUA6=_781db_--