Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1196862ybt; Thu, 18 Jun 2020 02:58:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTjk+2fwfqE12bhUd1UFBQwQhC+G3yAPSfF2oW6okIIOyhqOjjFLvGECFzhRdi2l2Hl6Zk X-Received: by 2002:a17:906:4ec1:: with SMTP id i1mr3117285ejv.152.1592474317975; Thu, 18 Jun 2020 02:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592474317; cv=none; d=google.com; s=arc-20160816; b=lHbRA3wl49TEM+bLjSvMReTEYJgr0dyBLtPJPFQ67SEI6h+qpCz1HSrXeZAIOlzURs ElG6S489NdVQfRQ5savoa6NqxzZ9WsGga5+wiWGZQqnaqLmvtejpjoopqYYv9JY7XeC9 0aUzq6NO08ZXNcJj2fqhojb+2kdD1k4nnUlfyWYU1kciKEeWC+48mB08uXL1xk0EiFuC q1b3byik2fVFkIJ9dz6RLFNA4P9UboCg4Lp5OC123ct/oOYf0xzcfvwbAQH9VULE41Eg MpmxpY1gJ9UD1m1f3WtTBKbBkU15158cMyb8AB/fB7yTzrI/FX9Xe7J3hLZb6D9Gwn0w kXbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=pGnDJXtKWLgnAg2IYpy2p8BjxoQVNW7qIESt0st593I=; b=JhqpOvXsrWCFZQg9EIqL34P3/45pLFSnWQeKXmJt7lUAMCEMk50hkJy5HPEdHUyL5R ZGpF3wdthCJ28NrBaSeJWKESvOkdDcvy0511KFPHg+ET37u9LGiSbmIcoFX+KZu4uo8L L3gbDyM/2S+yeZcgKgDVb3/vZmhpYLrZd2VZ+0PefbN2ztxx0W3XnvG40w5k45IPdOy1 bpCKX4JoC8xZeDNg/0YgosI67ajChoHXQtI3omk14f+a9HTvk79VDDOZg3tiC5QJoA+7 VpX9cJgM08j4uphgb0qLKD/Yb/9zgFAJ041kVLL8cSkWn96nx4d/f6Kbzk3XPPkbUiE7 /PNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=LmlpGVuN; 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 o11si1641035edt.505.2020.06.18.02.58.15; Thu, 18 Jun 2020 02:58:37 -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=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=LmlpGVuN; 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 S1728770AbgFRIqv (ORCPT + 99 others); Thu, 18 Jun 2020 04:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728536AbgFRIqu (ORCPT ); Thu, 18 Jun 2020 04:46:50 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1C6BC0613EF for ; Thu, 18 Jun 2020 01:46:49 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id x6so5113567wrm.13 for ; Thu, 18 Jun 2020 01:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=pGnDJXtKWLgnAg2IYpy2p8BjxoQVNW7qIESt0st593I=; b=LmlpGVuN7mlTuO3Dr+tB3GDPKZgd7JsDvzZm8m/ZHSzntyuHkVmvAluS2YgrLnz1ga SCCXvCLLjEwnDveNhuJZXkHYRzEIwz6hFT2R1Aqrs2CoRp7vc0+tDn6I8b3JMz9OtVAw VBO/nk0Kho//o0jbSKAEuQde0cM+Y4nJGotjtukPZ2OnJYQNQAyhQt3iURJ9fUCRNcMY OQcyQxqZEdzCzPXG2nsq/k0wrRQm4Vws1MeH7Mz2AzOSXZSQVUmkfV0Ko5fFs/36fkdV Ts01XGXDvfWPL9P8TZU5oSTeGJOqZcI0AkVsZ+IMxaaVB1eb9YjhyiWsC4g6mKUA0z6u TUhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=pGnDJXtKWLgnAg2IYpy2p8BjxoQVNW7qIESt0st593I=; b=TcOs5HC1wLBH9N3WUT3lYJxZ8d5lbjnuktpOrnuNHKYN5u7GBqT6XLR36PQXkifEgn PT7O8XSdHJa6x4rKHxsO56h83mzJF32JhzoZz/ZQduR3W3Yw7HjBXyQOPlG6MCz2ptCY 8YutKQnjr68N9KMuRSXkPqtjAefh64HSQR8BB/NR/5eWaAlgKaT1/v+URC1ir4jksbX2 /+qwfPcnt7lhkM0RSHGxtDnLbiPpCIOILGayJNA3w3egm5WlnOSHzbOCAezUvF0lx99m 0ilA88SZ7k8waN5lHXaKeHj/+VOfIekJ6VPFp7pJDRD2Ij/EogTZ3tEMOZuw0MnOXK61 VzUQ== X-Gm-Message-State: AOAM532MlYBDdTuY8XUI+Vktp5b8UwjqLQOdjyacOvQPnZ3CZhiRnzDM Wft31gKWIvZx/eNeW1rza9soPw== X-Received: by 2002:a5d:55c2:: with SMTP id i2mr3423049wrw.225.1592470008628; Thu, 18 Jun 2020 01:46:48 -0700 (PDT) Received: from [10.0.0.6] (xb932c246.cust.hiper.dk. [185.50.194.70]) by smtp.gmail.com with ESMTPSA id m65sm2114654wmf.17.2020.06.18.01.46.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jun 2020 01:46:48 -0700 (PDT) Subject: Re: [PATCH 0/3] zone-append support in aio and io-uring To: =?UTF-8?Q?Javier_Gonz=c3=a1lez?= 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, Damien Le Moal , Keith Busch , Christoph Hellwig References: <1592414619-5646-1-git-send-email-joshi.k@samsung.com> <20200618082740.i4sfoi54aed6sxnk@mpHalley.local> <20200618083940.jzjtbfwwyyyhpnhs@mpHalley.local> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <01581df5-d1d0-2375-23b2-20fc34dcdefd@lightnvm.io> Date: Thu, 18 Jun 2020 10:46:48 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200618083940.jzjtbfwwyyyhpnhs@mpHalley.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/06/2020 10.39, Javier González wrote: > On 18.06.2020 10:32, Matias Bjørling wrote: >> On 18/06/2020 10.27, Javier González wrote: >>> On 18.06.2020 10:04, 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. >>> >>> Good point. We are posting a RFC with fio support for append. We wanted >>> to start the conversation here before. >>> >>> We can post a fork for improve the reviews in V2. >> >> Christoph's response points that it is not exactly clear how this >> matches with the POSIX API. > > Yes. We will address this. >> >> fio support is great - but I was thinking along the lines of >> applications that not only benchmark performance. fio should be part >> of the supported applications, but should not be the sole reason the >> API is added. > > Agree. It is a process with different steps. We definitely want to have > the right kernel interface before pushing any changes to libraries and / > or applications. These will come as the interface becomes more stable. > > To start with xNVMe will be leveraging this new path. A number of > customers are leveraging the xNVMe API for their applications already. Heh, let me be even more specific - open-source applications, that is outside of fio (or any other benchmarking application), and libraries that acts as a mediator between two APIs.