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 8AEE2C4332F for ; Tue, 15 Nov 2022 08:36:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232748AbiKOIge (ORCPT ); Tue, 15 Nov 2022 03:36:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232752AbiKOIgY (ORCPT ); Tue, 15 Nov 2022 03:36:24 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC6AD11172; Tue, 15 Nov 2022 00:36:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=ofdUZ4A2AMsG1LdCXFeLxjKXuGYg+2TqZFjoaMm5yLs=; b=mb2FQT5XvPVrs7TxIhRncs2BuL ez4+ia7sJIJngCGeb/6mDK46MLr7jLnDQxwE92v7i+WnAq58a66XN5WJikV1Jjcw56RNhHZ4xmE4j ZQi6thdcKGJ+FIt6nbox6skEpUj9dvdGCUwLiKYX+FPnww1N3O5tMjV2Bq4zmVvAlGvhQjrRoIa1x Xz7CNXUxJvNvmeoTj0s1NuI0/Zms7oiy2hzaGWwvxwHgOsIf+FstuIv5guRCPKYSvTbvsM5bRIQ6l JXGF49oIaINVGAXs/lmN8jzkUmsN1ErnjDODPAPArEOgqkUYQvlrTnIbYqbtMUWn7BtmBtadCocQ5 37hYvqXA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ourQc-008yPO-CU; Tue, 15 Nov 2022 08:36:22 +0000 Date: Tue, 15 Nov 2022 00:36:22 -0800 From: Christoph Hellwig To: "Darrick J. Wong" Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, david@fromorbit.com, hch@infradead.org Subject: Re: [PATCH 08/14] iomap: pass iter to ->iomap_begin implementations Message-ID: References: <166801774453.3992140.241667783932550826.stgit@magnolia> <166801778962.3992140.13451716594530581376.stgit@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166801778962.3992140.13451716594530581376.stgit@magnolia> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Wed, Nov 09, 2022 at 10:16:29AM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong > > Clean up the ->iomap_begin call sites by passing a pointer to the iter > structure into the iomap_begin functions. This will be needed to clean > up the xfs race condition fixes in the next patch, and will hopefully > reduce register pressure as well. So if we go back to the iomap_iter idea from willy it did something similar, but replaced ->iomap_begin and ->iomap_end with a single iter callback that basically implemented all of iomap_iter(). Depending on your view point this patch gets us closer to that or is pointless churn :) Technicaly the changes look fine to me.