From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12F37C6FA86 for ; Mon, 5 Sep 2022 06:50:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235949AbiIEGu0 (ORCPT ); Mon, 5 Sep 2022 02:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236498AbiIEGuP (ORCPT ); Mon, 5 Sep 2022 02:50:15 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 245B9B5D; Sun, 4 Sep 2022 23:50:12 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 54EF368BEB; Mon, 5 Sep 2022 08:50:09 +0200 (CEST) Date: Mon, 5 Sep 2022 08:50:08 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: Christoph Hellwig , Chris Mason , Josef Bacik , David Sterba , Naohiro Aota , Johannes Thumshirn , Qu Wenruo , Jens Axboe , "Darrick J. Wong" , linux-block@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 17/17] iomap: remove IOMAP_F_ZONE_APPEND Message-ID: <20220905065008.GF2092@lst.de> References: <20220901074216.1849941-1-hch@lst.de> <20220901074216.1849941-18-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Fri, Sep 02, 2022 at 10:38:50AM +0900, Damien Le Moal wrote: > On 9/1/22 16:42, Christoph Hellwig wrote: > > No users left now that btrfs takes REQ_OP_WRITE bios from iomap and > > splits and converts them to REQ_OP_ZONE_APPEND internally. > > Hu... I wanted to use that for zonefs for doing ZONE APPEND with AIOs... > Need to revisit that code anyway, so fine for now. We could resurrect it. But I suspect that you're better off doing what btrfs does here - let iomap submit a write bio and then split it in the submit_bio hook.