Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3159251rwe; Sun, 16 Apr 2023 13:10:25 -0700 (PDT) X-Google-Smtp-Source: AKy350aWZ2chYmi9J3PjBDd5seW++fThlDg2eSx5NPgJ/CPzKf4kbHNqqr8r31y94PuXaAcUBTuY X-Received: by 2002:a17:903:1103:b0:1a6:bc34:2ee with SMTP id n3-20020a170903110300b001a6bc3402eemr5854645plh.21.1681675825616; Sun, 16 Apr 2023 13:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681675825; cv=none; d=google.com; s=arc-20160816; b=MVvCKKZMWo+JZNawizDUcjGrUM/YW4Mkd+DAK7EUVPZ09NsAmDmc7kbeBzXgADMWjp 5hFoLOLTzYg4RLXISChwTXOWLf5U9T9LfqwvcLNiHnKkqImMk0Tl+6zR0jrrI6qYNDFC Ixz8SrUqIomgyGwqjucBEXiT1+91nacmktauq/pZeTgqbsOIuuLTKgxo6qEs0lrHTsfa G1AbsSJUjvRuQyYG2Qom9pwJ8xdnDtJ1xhy4Eb2yQQ70223Ij1jBfx3yubM3PIRIKfDo munadDG43FFxHIZoI5Z8+cWK3feIF/wGh6I1oaD90KuAD3Uw2rFt5mZTNlLla9N6osJo GYfA== 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=F8t0fLT1mTjxrrVAfj8n0ln1c+IFX/6niWHfAypT1bg=; b=EHFAG+bMgqfPpaR9bmcWKBwZu5/fRjEd11GKw3TIXvQ4iuWef45HX8kV4Q8klSH7mx J6eJoopQGHHlzbh/Owfih0uotzq5PvVO43LVImtegtc8mTJkZLaNLpeOn6v7Ho8zU8pR 7DOtb5Q4YztbyAVxw6k8HXOBNq4Z91bHKVdsyomIvVInP9+GIYHk1B3prr3hPZsA1FwT dgbyrn07dqc4pxHgfen9781RzY/nZw3grMr/ihJIk7g+n6NJCzeP/nSOk7EexoqI+Q+v ezMe1eLFQiP+mUd9aczkkTfO+WAn12h65hZATvHViUmgB8QbVBCiKv4U0o7fvnIGevnw baRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=I7XAkSTX; 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 f12-20020a170902ce8c00b001a5298ca6d5si10978770plg.453.2023.04.16.13.10.07; Sun, 16 Apr 2023 13:10:24 -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=I7XAkSTX; 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 S229510AbjDPT6R (ORCPT + 99 others); Sun, 16 Apr 2023 15:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjDPT6Q (ORCPT ); Sun, 16 Apr 2023 15:58:16 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C03781FE9 for ; Sun, 16 Apr 2023 12:58:15 -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=F8t0fLT1mTjxrrVAfj8n0ln1c+IFX/6niWHfAypT1bg=; b=I7XAkSTX/+kQW+hXkkJx2khXGS TS04xTsEKyXyQsLpNlBGye1M8mqSHEgY1F43rg/IrCV7Ju7njvHm9zKH/ON59Nyc1BdPC+2VwXnhk I4WkaJto1T19ayG5s2qWRKjHG1MgMXaTBxUipOPahviyeWwI0y0G4ZIustClJZyxG5+FgZD00JWmN rMNdep7wE/u+m5p0ID4/OqHmam9Yk0ThNXf+XwMJInvl66IkaHvQLZaAw8h3VSjlQtTHtl+M17/ui E9+Is6xHRXWzJlHAjarhR3fKJCOPqXWOdxziCg/nhCX82TyNRp6fjvxyQZXixpOstvEJJTzi05xvX zrz5PjaQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1po8Vp-00Acx1-EG; Sun, 16 Apr 2023 19:58:13 +0000 Date: Sun, 16 Apr 2023 20:58:13 +0100 From: Matthew Wilcox To: "Ritesh Harjani (IBM)" Cc: linux-ext4@vger.kernel.org, Jan Kara , Ojaswin Mujoo , Disha Goel Subject: Re: [RFCv1 4/4] ext4: Make ext4_write_inline_data_end() use folio Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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:53AM +0530, Ritesh Harjani (IBM) wrote: > ext4_write_inline_data_end() is completely converted to work with folio. > Also all callers of ext4_write_inline_data_end() already works on folio > except ext4_da_write_end(). Mostly for consistency and saving few > instructions maybe, this patch just converts ext4_da_write_end() to work > with folio which makes the last caller of ext4_write_inline_data_end() > also converted to work with folio. > We then make ext4_write_inline_data_end() take folio instead of page. > > Signed-off-by: Ritesh Harjani (IBM) Reviewed-by: Matthew Wilcox (Oracle)