Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp667749ybt; Wed, 17 Jun 2020 10:45:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8ky7fo8/XJDKJLqxdUaLl2HpbwuuIuJ4M27eI6lUW0z86d9PJAf6iXv1BDa4is0q5xrZP X-Received: by 2002:a17:906:3843:: with SMTP id w3mr278784ejc.177.1592415912548; Wed, 17 Jun 2020 10:45:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592415912; cv=none; d=google.com; s=arc-20160816; b=m+c4/HppT44qSbsUT+2956lwdJqr+xdQB28//PMKOAZicWPoffo/XbdKCPnQBdE6pG b2N0xYoSO3bvpkmCt7ID5PEaVWSFqsDg+MGay8/xRCutHszPy0RDl7tF/cnA+L4hvI6b jlcF6vS0Nqonw9xgTXvNrLtj2qyr4rB1TV/7fiHOdvh1DjVRm1BxVyic1VqKfEXuc676 UfAOCQu9tAI/arL6EFPVg2RSdMlMRVG5uoRPqrdL2GOCaI9WrCZs7yl5OTAtG090yGba Z4WXIRQHv709EF5CrtLGnAqot2YsD5wKGKO6s9rDOJ4BCAe9xL6Z8vrlDp5VkTBIrRi5 4XhQ== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CkyHJY+MLCHaDHdWKXst4+zbNAtcnZ7dwIww1fY+0cU=; b=gb5wVRse18Hu4Q3IWejrdonBm+KS9SZBkjlQ5kWXiglvORfaEcgt/WSf4fGC7Q4DrZ 8ZvIuK0dLgaGutkcMuT2Rg5lQ7OaSIveGZvLB3vb2db+9/2tiauOgg9oNeJ12epXVWXB smIcENIoMFCYP7YZqeCLWEdmOIH91FFPAzZHyPAM/XVo2RU/QRyKhEngKZY73I/iuFc4 wzyQKbwcf+IOoj7xJzjARtvp4ph9O/SPLtfgxEVqqIriH2zOWMxUBsSTMxNhVqy+gNRP QTvgL4Ve/PKRf3l3W2HTN2IzZ6BgXjC4leJc475D8GF5Fq8B5DYY0a0x1ecqiexEjuXH +O8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KH9dEePl; 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 h19si328287ejj.80.2020.06.17.10.44.48; Wed, 17 Jun 2020 10:45:12 -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=KH9dEePl; 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 S1726851AbgFQRnA (ORCPT + 99 others); Wed, 17 Jun 2020 13:43:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726496AbgFQRm7 (ORCPT ); Wed, 17 Jun 2020 13:42:59 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DAFDC06174E; Wed, 17 Jun 2020 10:42:59 -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-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CkyHJY+MLCHaDHdWKXst4+zbNAtcnZ7dwIww1fY+0cU=; b=KH9dEePlMHpTfpCpY97B0WgqzR apq9Cwcf0HNGJgYj8xSCmuLWcRoCSO1GjCmpI7XH8KV1PJs+h9dHna54hr4ieZxHtcdOiO/BxiRnk iYYte5LX7UYv4axoVDkT6leuq/+JjUrfGAdw5iI9WiLpGIlgblUJYoJoocdEpmABdv8viFl9rlnzh RpdqTU2HxXWp6B4OILcwr1xt8hHLibbc68W7OYO8eRxoUPYXgvJmaDWL93CNinvE+nAOwj09QuL6s f5p9UXq7aWLvGkgCTpRvuxwiHVrQiWHF/4WscBAK4USfRg4IRXu8oIpGFEEC3GadavRrw5TDs6OVo LwH8EIyQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlc5J-0008QP-68; Wed, 17 Jun 2020 17:42:49 +0000 Date: Wed, 17 Jun 2020 10:42:49 -0700 From: Matthew Wilcox To: Kanchan Joshi 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 Subject: Re: [PATCH 0/3] zone-append support in aio and io-uring Message-ID: <20200617174249.GL8681@bombadil.infradead.org> References: <1592414619-5646-1-git-send-email-joshi.k@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <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 On Wed, Jun 17, 2020 at 10:53:36PM +0530, 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. Maybe it's obvious to everyone working with zoned drives on a daily basis, but please explain in the commit message why you need to return the zone-relative offset to the application.