Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3144982rwe; Sun, 16 Apr 2023 12:48:40 -0700 (PDT) X-Google-Smtp-Source: AKy350aFFSNn8M/za9asoVREMZJWiKQbC33snkbIgBTBzr/NmmacrDUcuPLFt/5f0SZyS4c2nDlQ X-Received: by 2002:a17:90b:3d0:b0:246:f99e:9192 with SMTP id go16-20020a17090b03d000b00246f99e9192mr12729958pjb.3.1681674520676; Sun, 16 Apr 2023 12:48:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681674520; cv=none; d=google.com; s=arc-20160816; b=kuWDUggPYsEzclLOmYrNeo+KL7KyrMEoNddyl669dEnn14lIvsZMOU+dwn+R9tAU93 ANFy0vyOGOsl8EEy6a/X41j13YHutvfrQn7kAaIC4E13ZxThJ/PWq3Ycl3Ow/RtsGy9M ttSoqEHbIuQWDMnH2cztx+BqndRAc5ljBFHlpaWd/aPmr+QLtJzWBk7TVN+WmbUJzu0n zLE96wSMc94oGYtdTdtzNF8Grvmgf4Y0OvlOKVATnQ4EZUmk+eAZQcqUO9taRLLjkw+W FDRufVZdNm76ud/ykB33bvCP6XdjX3Sq2S2TKEh4mq0kiAheTfUMxPbUyklSohQ0A9jw rlwg== 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=pKdRryQDAYZQhVZoYTFX0r/oEBnu6SJP+HDNDQPvnnc=; b=ys0IWpPK7vX1bYebdGU5ArAJ74pMqCkqGysNk51UHCeBnLKS/BOIBRJwdD9P/1XUst kGJQp+F5ZN5qVwqsNqgJXe2CnI+N/u7ir3goDO4/w8x+D473wMbm+TSGrjAovVAJXvJx 4A+8VvEFRNGfHduxQd4goWF5bpTE79p+PIDWdULzA5M57qXxAVX5vp2GK2wclBxQintb Cek/S0FwuxaJgblVHLhO4se3ot/7FLPIEDTtL9dpWVxxFcZJ4pY43b/xinl80wjBoO+G HHgqVdBjFH8qEoV4R8hlWT0kPcdPJt05RaZ/i1jOOpWH2E8JRxl2CWCb+a0yWjoRjTtW mDnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sKeK1t50; 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 a193-20020a6390ca000000b0051b53255837si9766431pge.508.2023.04.16.12.48.25; Sun, 16 Apr 2023 12:48:40 -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=sKeK1t50; 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 S229501AbjDPTqO (ORCPT + 99 others); Sun, 16 Apr 2023 15:46:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjDPTqO (ORCPT ); Sun, 16 Apr 2023 15:46:14 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C37F2694 for ; Sun, 16 Apr 2023 12:46:13 -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=pKdRryQDAYZQhVZoYTFX0r/oEBnu6SJP+HDNDQPvnnc=; b=sKeK1t506Ic+urAt93I/lxi0RV tKJDvbjubfYpCfwjQPhkFzR8vt/MEzWSBckCgExDYFoflHVQ2+eZYyitdjH6cvMJBrflCXGLILf9Z e2bpm3wf6lbytwd+sWVyXJwmYdJnwhkMv/EloqHz5Jij+Tc359knBUDD/NockCEum+PktpxRz3I36 CJJK8rbd5VrscD0pGE3kq2FrLctQYAlfcUj226XRvykJXpiisipTXnZuLBHuKHwPsWnNnJx1jT0FH 1uCna3YoX5Pk+hJJgY2RnN8xIe+FAXDl+duYWqp/DlI9ZfV7bvpNrkQ01zU8hSmMBcVOO17alv63m hmqgVT1g==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1po8KA-00AcMs-RP; Sun, 16 Apr 2023 19:46:10 +0000 Date: Sun, 16 Apr 2023 20:46:10 +0100 From: Matthew Wilcox To: "Ritesh Harjani (IBM)" Cc: linux-ext4@vger.kernel.org, Jan Kara , Ojaswin Mujoo , Disha Goel Subject: Re: [RFCv1 3/4] ext4: Make mpage_journal_page_buffers use folio Message-ID: References: <9d0fe99d45e88fd0446df745c31b561fefab898e.1681669004.git.ritesh.list@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d0fe99d45e88fd0446df745c31b561fefab898e.1681669004.git.ritesh.list@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Mon, Apr 17, 2023 at 12:01:52AM +0530, Ritesh Harjani (IBM) wrote: > This patch converts mpage_journal_page_buffers() to use folio and also > removes the PAGE_SIZE assumption. Bit of an oversight on my part. I neglected to do this after Jan added it. Perils of parallel development ... > -static int ext4_journal_page_buffers(handle_t *handle, struct page *page, > - int len) > +static int ext4_journal_page_buffers(handle_t *handle, struct folio *folio, > + size_t len) Should this be called ext4_journal_folio_buffers?