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 67F9EC7EE23 for ; Wed, 7 Jun 2023 06:52:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238102AbjFGGw0 (ORCPT ); Wed, 7 Jun 2023 02:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238262AbjFGGwV (ORCPT ); Wed, 7 Jun 2023 02:52:21 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8332D1732; Tue, 6 Jun 2023 23:52:14 -0700 (PDT) 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=U/B62Mqog3vp3Vr8Rj93YoSca3WiNsAO+9AwaSdNKrM=; b=Q2Dxgaudt4jZ1gKN+Nh8Hd0BqL q+LpdjkjALu4zWxZ67F4HNhj1Swd2uTlkDD3rft98XlVz2gvjE7gPBeipPEln279j7EE7/OCmgXy1 5uz5VbbebMbcxKkgh2l4qqSIfmJ7TdCZRcNd36BH1wKiwndVdkQhnPDroRcoHuE5iDy32fxqLxcEq BkBFiTjxhFRLK9JeXMzk/bZBKvgb/+EJFAKqZEhh75Q1852hNqBfAx4Ul1CnZrCdEw8R83NXXjlkC CCDBC/Y8RIBs4rNcb14JhnDzP+ktZAXsCFPmJRsv5Jra/DI7T3UtCu2ghzP9GyhAsmms7FFOKiSMk puimT0Ow==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q6n1h-004cvO-1H; Wed, 07 Jun 2023 06:52:13 +0000 Date: Tue, 6 Jun 2023 23:52:13 -0700 From: Christoph Hellwig To: "Ritesh Harjani (IBM)" Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Darrick J. Wong" , Matthew Wilcox , Dave Chinner , Brian Foster , Christoph Hellwig , Andreas Gruenbacher , Ojaswin Mujoo , Disha Goel Subject: Re: [PATCHv8 3/5] iomap: Refactor iomap_write_delalloc_punch() function out Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-fsdevel@vger.kernel.org On Tue, Jun 06, 2023 at 05:13:50PM +0530, Ritesh Harjani (IBM) wrote: > This patch moves iomap_write_delalloc_punch() out of > iomap_write_delalloc_scan(). No functionality change in this patch. Please chose one refactor (the existing function), or factor (the new function) out. The mix doesn't make much sense. Also please explain why you're doing that. The fact tha a new helper is split out is pretty obvious from the patch, but I have no idea why you want it.