Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp326977pxm; Wed, 2 Mar 2022 16:28:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMbdRXu0GK7QuQfhFO+FVQbsPQwkfWAoJCHvzimV8UGr2mDxk+A6Vq0GkmKhdqoeISE3gM X-Received: by 2002:a62:8883:0:b0:4f1:922:1a26 with SMTP id l125-20020a628883000000b004f109221a26mr35024272pfd.63.1646267312645; Wed, 02 Mar 2022 16:28:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646267312; cv=none; d=google.com; s=arc-20160816; b=AnZBmxCMvHhV5D4RHz01FQvkg6ET0vnXYJ447EgXc0Htr9lLCy1FnhbahuvOsDkKFR PMZWia8/h04CuMrDtIdRA0cKTX7ITxqthr7TRAhyUKwMqWIT7rjF05CvdP1fny1bGIYP TR2o37CbGseLtgDct5yxgr6cllaCo2cd30Uaq8OSKQav1Uc7gmbmPuAVhJpmlRpP+ocP UjvIFsTbZ/1BCLC0AwIoMrS379zYqHAT85sLTa5U1sNKtvjjjMYXA66TEtg9GbG/wqvv 36sOwxe40dmEG4V3A4cjof55SUi338a1Vyi3OznRQpeDuPbB5EZnoyhj7nVCK7mTjwg/ 2ivg== 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=dPwpOA3dlf+QjLGZg4hJmQgB+HaIen/E3co4VabBIO0=; b=z4k+9SDUtiMjX2DFnyQq2InXLPfwEURsf4FMMDImlWzrv/hfvDsnoDFaNEhwqEHhX7 nJ/dROkLjY5nXbqWzkcEtr10k+5U4NoDOwpvTi9lzJF3zu+iYfuFNJz9GK7vUzmn/gLg huZVj0WR0z2YA2qhAfQdTAEz4ItPwBGMUm6EkPd7rzkDCo/efyfr//IJa+sXOp1LuPSw pWx29ITYWSf0EeyDrV45VR1grpF25gZpRjb32SUQmqpOteA3czSjcnaDtucHqy1aZGnv PQkxYWZKlRp6rvbIpmuI4QCiqiakGhEgiBmmCSaqQ3pI0rMRzcBNiN92unjsrf59T4wY ApEg== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e24-20020a656898000000b00379e01b510fsi555890pgt.145.2022.03.02.16.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:28:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C508F20DB0C; Wed, 2 Mar 2022 15:40:00 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240231AbiCBUwl (ORCPT + 99 others); Wed, 2 Mar 2022 15:52:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233970AbiCBUwk (ORCPT ); Wed, 2 Mar 2022 15:52:40 -0500 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35B536005E; Wed, 2 Mar 2022 12:51:56 -0800 (PST) Received: by mail-pj1-f43.google.com with SMTP id g7-20020a17090a708700b001bb78857ccdso5871373pjk.1; Wed, 02 Mar 2022 12:51:56 -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=dPwpOA3dlf+QjLGZg4hJmQgB+HaIen/E3co4VabBIO0=; b=0cJ93QzI+mxJq7HD74Tmvm0MtzGHWh4rWBJcf7JyDmnqxGh2YISXTHLN0ZJfSwWnzc hAJVtssSyYA9PEtIj6nM0SXnx56jQVe0n0lK8gcyEXVC9xBvFaaUVX4xkNrI2/eyBq5T ZRqFMeieluevNJqZTbBlzOI0thWw9rSgltxPnbE+uBChl2vyRVkxv4mbhc+7Z6QeNjSH fL2AhW4yMjglUtyqSFVMxJVloEKQpVsTV7JBzvj0Dw9N0rIooxlwjH3T69W42azfDFAd tLPWMUmlPSR66ynD/8iR19Xm3cvqGMAvYFfWWiiNYiAj1OzBFNi5bdWiKdkHVTZ21c6E j2pA== X-Gm-Message-State: AOAM530dnmxti3+tvm5MwomXXIHsUc/qAnsslDIo6xzQeHHorNf292XT BTPsZjlm+MRuIsGhtl1bFEM= X-Received: by 2002:a17:90a:2e0a:b0:1be:d5a0:cc5a with SMTP id q10-20020a17090a2e0a00b001bed5a0cc5amr1688125pjd.120.1646254315591; Wed, 02 Mar 2022 12:51:55 -0800 (PST) Received: from garbanzo (136-24-173-63.cab.webpass.net. [136.24.173.63]) by smtp.gmail.com with ESMTPSA id w17-20020a056a0014d100b004f1063290basm77192pfu.15.2022.03.02.12.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 12:51:54 -0800 (PST) Date: Wed, 2 Mar 2022 12:51:51 -0800 From: Luis Chamberlain To: "hch@infradead.org" Cc: Damien Le Moal , Kanchan Joshi , 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 , Adam Manzanares , "Remzi H. Arpaci-Dusseau" Subject: Re: [PATCH v4 6/6] io_uring: add support for zone-append Message-ID: <20220302205151.76f6wfqb2t3llnvf@garbanzo> References: <80d27717-080a-1ced-50d5-a3a06cf06cd3@kernel.dk> <65a7e9a6-aede-31ce-705c-b7f94f079112@kernel.dk> <20200731064526.GA25674@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200731064526.GA25674@infradead.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,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 Fri, Jul 31, 2020 at 07:45:26AM +0100, hch@infradead.org wrote: > On Fri, Jul 31, 2020 at 06:42:10AM +0000, Damien Le Moal wrote: > > > - We may not be able to use RWF_APPEND, and need exposing a new > > > type/flag (RWF_INDIRECT_OFFSET etc.) user-space. Not sure if this > > > sounds outrageous, but is it OK to have uring-only flag which can be > > > combined with RWF_APPEND? > > > > Why ? Where is the problem ? O_APPEND/RWF_APPEND is currently meaningless for > > raw block device accesses. We could certainly define a meaning for these in the > > context of zoned block devices. > > We can't just add a meaning for O_APPEND on block devices now, Make sense. Is a new call system call for nameless writes called for instead then? Then there is no baggage. Or is this completely stupid? > as it was previously silently ignored. I also really don't think any > of these semantics even fit the block device to start with. If you > want to work on raw zones use zonefs, that's what is exists for. Using zonefs adds a slight VFS overhead. Fine if we want to live with that, but I have a feeling if we want to do something like just testing hot paths alone to compare apples to apples we'd want something more fine grained. Luis