Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7022239rwl; Wed, 22 Mar 2023 20:32:06 -0700 (PDT) X-Google-Smtp-Source: AK7set+uYthKRm+oyhVa4pT+wOdJDDetsJu5Mcw12ziT6/PSUZ1QyLU+A9axACItM6yqkI1Eivgx X-Received: by 2002:aa7:cd4c:0:b0:4f9:9e56:84bf with SMTP id v12-20020aa7cd4c000000b004f99e5684bfmr9331277edw.10.1679542325826; Wed, 22 Mar 2023 20:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679542325; cv=none; d=google.com; s=arc-20160816; b=XOJaylTfoinHLaVHaBCvGnFxwq6eVoi+8OvaYS1SQ1aRYOgimYvn/vNZKejD85YV5h I2ASapJ333S2s6jmAWKCI+t0ZtC0t184kWJwL5WdP9yAurusC14N4xRT/5m2USt8hvd8 V8T2xJpn2nBMwpQ7EHHu+vxrph2CSuBFnZgRIX9x0vXoDksXz6glorvIOU30Ku2p00d4 xrZprY7vX5tuUX7MjKop9tD/O10zqrE8zGhY8LG9jX3vAM9PBht8Lykx7LrebaETrJ5S x4v4xWQu8R3EKA7BPoG7EyS8wD+kY8ktLYtMemIpe7AUc2FmFZ+98uagNDmPLldXRCgX 5eQw== 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:dkim-signature; bh=3swr9uOuonCYschB+/pOWIFUqX6a9xK8BK3ZWmDabl0=; b=UNpUrjhTQuqjomjSRlRjLHIRE0tGwKtoMY71/MEssByRHXOFI0t5KrI78+0rSbAnpK 90VsU5lLVMwOR/HBThgCkHy4fL/GRvUYIHcs3UDugoTjQokVCOMcHm7Z8YdxI1aaPFAF fM39gAZbMypGF/goq4dDKeVZ7kHLXaTvCF2GGoQXtqIuG7TcIIJQ135VWozlhU9HtopS SwqDOjWwmV7mS6rN7vlzDQaX96pTtpmNEHs0/FR9SCyF5ebFFnT0FAanp2KO8iqu3QDh bdzLabaeLy+PUMFoQIEBaqHmY6Z2LkSe//j2xwrZJxZ41gFKW5wFOHlc/Kgef2I6cJ7E DcuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=kRu4PHmc; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r1-20020aa7c141000000b004fe948c73f3si17179631edp.573.2023.03.22.20.31.42; Wed, 22 Mar 2023 20:32:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=kRu4PHmc; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbjCWD34 (ORCPT + 99 others); Wed, 22 Mar 2023 23:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbjCWD3k (ORCPT ); Wed, 22 Mar 2023 23:29:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A332F07E; Wed, 22 Mar 2023 20:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=3swr9uOuonCYschB+/pOWIFUqX6a9xK8BK3ZWmDabl0=; b=kRu4PHmcLUSg+iU9PT5AfuzmMh u3zy6ZdPLp7KY+MT1QQXUdsA4kOod4RRsHWV1Czb/4LXWxOApx+PLdTYvpvq3k32fGpQIhTk0Hcc9 AnqgBWs/auu2su0xc3Hx4Eo/z15o6KhiXTX4Su38NB/K+1xMoq7f6S007L70vDcryC5h5AEpbivJ1 qBCoAMQ/kTjR/Xaklp/hk3w54iPfTqZaA8Gb6T2O9gPAcNj1+NaBcZxy3PT+4ge635YOn1SRa2IuG GkuEGTKIi0QN+1RlpBJNygBqOYcOJusHsYssButsGqa3c4MdkmuLcokbWJbuUsUMbGyfWhYgk8/BX 0P/0F+Kw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pfBdw-003ddR-E0; Thu, 23 Mar 2023 03:29:36 +0000 Date: Thu, 23 Mar 2023 03:29:36 +0000 From: Matthew Wilcox To: Theodore Ts'o Cc: Ritesh Harjani , Andreas Dilger , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 05/31] ext4: Convert ext4_writepage() to use a folio Message-ID: References: <20230126202415.1682629-6-willy@infradead.org> <87y1o9vhvq.fsf@doe.com> <20230314222646.GT860405@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230314222646.GT860405@mit.edu> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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-ext4@vger.kernel.org On Tue, Mar 14, 2023 at 06:26:46PM -0400, Theodore Ts'o wrote: > On Tue, Mar 07, 2023 at 12:15:13AM +0530, Ritesh Harjani wrote: > > "Matthew Wilcox (Oracle)" writes: > > > > > Prepare for multi-page folios and save some instructions by converting > > > to the folio API. > > > > Mostly a straight forward change. The changes looks good to me. > > Please feel free to add - > > > > Reviewed-by: Ritesh Harjani (IBM) > > > > In later few patches I see ext4_readpage converted to ext4_read_folio(). > > I think the reason why we have not changed ext4_writepage() to > > ext4_write_folio() is because we anyway would like to get rid of > > ->writepage ops eventually in future, so no point. > > I think there is even patch series from Jan which tries to kill > > ext4_writepage() completely. > > Indeed, Jan's patch series[1] is about to land in the ext4 tree, and > that's going to remove ext4_writepages. The main reason why this > hadn't landed yet was due to some conflicts with some other folio > changes, so you should be able to drop this patch when you rebase this > patch series. Correct; in the rebase, I ended up just dropping this patch.