Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp196601pxm; Wed, 2 Mar 2022 13:18:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbSTc2/JVzV9jVZN9OtKZ1371rfhnFgWbmEeNgfcWMpzYAVpCaz+cyZjjL5gwMXzz1hr4K X-Received: by 2002:a17:906:50b:b0:6d0:9ebc:b9df with SMTP id j11-20020a170906050b00b006d09ebcb9dfmr24485935eja.67.1646255939654; Wed, 02 Mar 2022 13:18:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646255939; cv=none; d=google.com; s=arc-20160816; b=BZAh/FnlyDCoZ4ao3BBIhTpgSr/zqLxI+EKHi08e2aWVnQKpxFAQSWY4Zu1M10qGeV 48MPH3u/qDt5MkCzxs3pVaVrOlYXp+sVtepyzId2Tpae0McQFbQUm8QloV+lWFgNasgs B5Tf8zgMAfjF22CohMeNIyphdRSae03WvdlVTffW8zILe2pMRyV8tJo+L/bU1u6sCReg KgoIcwF5soVqNAaCrydi/m7Uq9xHyGqVVlIljENt4hV4dZxPv5gsPQoffLFF3XDDQlQh J8VM9Ya+vxj2wt+kzk3Jypb1asGwBDh1MsFUjQ5tR+pAicy3Yv241HZ+YWRtQNIirBSI 3sUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=lgYOR0NAjV43r8oYaHMPMronWC+T+uvO+TYbc9ZRf2U=; b=HAK7ybM5WLmNZXt0JhK90VVUqks/irWfFM3ZKKfdFKINQ8g0C8w8ZnmJu7iPyKhn+z 2kFGlajIqPdicqAu9P2U3AkPeCZbMwAD90jw15xj08XJt0VNO0hBmzfLKuvwSiSxuECx bVvTo8uQ6nY/UuOY2P3tRqlqD1e090SVCqRtV4t8vaa0c9Z1IPXLQKTpbc3Uzenjw1cg WGMCS8j78nmkrpjb9oP7D79gIL6kQj/EWQyIZIP801GIGpW0CMKDWC6Y9gVFUHJBDz2u J0xaUDk7az1f9r1swbFoSP7JClKayN1TKeL/CbnG5zVDDb/pm5g5SZOLtQRciQBuYwAL Op7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a170906390e00b006d087a29f8dsi93817eje.512.2022.03.02.13.18.11; Wed, 02 Mar 2022 13:18:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244220AbiCBUoX (ORCPT + 99 others); Wed, 2 Mar 2022 15:44:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231127AbiCBUoV (ORCPT ); Wed, 2 Mar 2022 15:44:21 -0500 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77BFA36B6A; Wed, 2 Mar 2022 12:43:37 -0800 (PST) Received: by mail-pj1-f41.google.com with SMTP id gj15-20020a17090b108f00b001bef86c67c1so2753935pjb.3; Wed, 02 Mar 2022 12:43:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lgYOR0NAjV43r8oYaHMPMronWC+T+uvO+TYbc9ZRf2U=; b=Do7KuqMBP/y4oIXCc27REEmmeyXsQ6BpAC2gB6U/LVB2ZNfh4Nh9GmKMZPuFes/YLC pHO8uQOYa/PKUaJhi3WDoHy8KcCkLkLZgvHOBnNnqfRzrGEz20DRVGbHUkIIRZWGQeu8 fzyZDAGiKgkuRZ2dtHZaLS6JzPV4zMF/sygEzbeF+6zvqGtxSzRIEZTFhRfQBIlE7RJF 9F9iFyjiuHKY1F/mE/XWWByHSumXeQHnLjkI2CPFr/t/5PwZpfOtCNX2x1/qW/0/t33L A8k649uAPfZ972Tlr0KQCNp6qHYmmsl+UT0hXzwKmpD7N/O9s7bQ4EvEGLeMaLL2z9NI jZIw== X-Gm-Message-State: AOAM532wr43A/92deLW2TbooI5zAFm1jwDp3LLIoYzl5q46w9sHMXH0W tTkJFtYz6r/mm07TRtQWbFcqdUTLcF4= X-Received: by 2002:a17:902:d50b:b0:151:94d9:eeaf with SMTP id b11-20020a170902d50b00b0015194d9eeafmr5879371plg.133.1646253816786; Wed, 02 Mar 2022 12:43:36 -0800 (PST) Received: from garbanzo (136-24-173-63.cab.webpass.net. [136.24.173.63]) by smtp.gmail.com with ESMTPSA id k4-20020a17090a910400b001bd171c7fd4sm5933510pjo.25.2022.03.02.12.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 12:43:35 -0800 (PST) Date: Wed, 2 Mar 2022 12:43:32 -0800 From: Luis Chamberlain To: "hch@infradead.org" Cc: Kanchan Joshi , Damien Le Moal , Jens Axboe , Pavel Begunkov , Kanchan Joshi , "viro@zeniv.linux.org.uk" , "bcrl@kvack.org" , Matthew Wilcox , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-aio@kvack.org" , "io-uring@vger.kernel.org" , "linux-block@vger.kernel.org" , "linux-api@vger.kernel.org" , SelvaKumar S , Nitesh Shetty , Javier Gonzalez , Johannes Thumshirn , Naohiro Aota , Adam Manzanares , "Remzi H. Arpaci-Dusseau" Subject: Re: [PATCH v4 6/6] io_uring: add support for zone-append Message-ID: <20220302204332.dgstbjcpzgiurn5t@garbanzo> References: <20200731091416.GA29634@infradead.org> <20200731094135.GA4104@infradead.org> <20200731125110.GA11500@infradead.org> <20200814081411.GA16943@infradead.org> <20200908151801.GA16742@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200908151801.GA16742@infradead.org> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 08, 2020 at 04:18:01PM +0100, hch@infradead.org wrote: > On Mon, Sep 07, 2020 at 12:31:42PM +0530, Kanchan Joshi wrote: > > But there are use-cases which benefit from supporting zone-append on > > raw block-dev path. > > Certain user-space log-structured/cow FS/DB will use the device that > > way. Aerospike is one example. > > Pass-through is synchronous, and we lose the ability to use io-uring. > > So use zonefs, which is designed exactly for that use case. Using zonefs to test append alone can introduce a slight overhead with the VFS if we want to do something such as just testing any hot path with append and the block layer. If we want to live with that, that's fine! Just saying. Luis