Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp517105rwe; Fri, 14 Apr 2023 06:22:21 -0700 (PDT) X-Google-Smtp-Source: AKy350atcO7yjcn7maWOqZFQgnp+9v2RKii42YDJbtut6vr/WsksJigCFKpgnMCv2QVH2XsrCpMG X-Received: by 2002:a9d:7548:0:b0:69f:8e11:ff36 with SMTP id b8-20020a9d7548000000b0069f8e11ff36mr2961088otl.33.1681478541076; Fri, 14 Apr 2023 06:22:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681478541; cv=none; d=google.com; s=arc-20160816; b=NYUjaEtxj65AHejNfXowVQ+yu515mA0yWmW6N8PkdcVUBLTNVCruYGiDIKVdgDBiHn IzgGmskfmTiBJ59JFbBVA6WX57AkH2TcsHDpQANLfG8C+WY4zqwBmbYxgjQ5JRHxOpGZ pVE/YptXyT7R/Qvl+Nai4NPaQokprr5NEAyNPI7TBRebkfy9pP7y7z6XiZdFx54kHpyk EwdDI7s5nS4KxGUTxTRkGC9zzFpKoNRnP4IG8kzYgOQR4UkKvn9LwO5uF0Nyue+Z+g11 RPUJgAVZqFJl+lkgXW1VLZ4iK8dn2O2NGy0QOfz4hsoWxpU8XkqR8KXnE+c4QKRzIwnH eQKA== 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=4n2+V3v5NS7BrPgVP+hnCjbRjgXvefs1QrA/ZzAt1rk=; b=ulOAgqqlAvN6A9Gs0vNkzGLCIYwkbcElLxKUsUY/oYxXUhV0SJMjklrM9E0HtG9kAm AVpBa/vluch3q7GjRHiqOVwHpJ7BoMgDjiv2hGC4kI4cnesFdBnlJ/pQj+xNK2pt9p2A 4VzNeRKoRwX6oCGpCxSOCILPgn34MUFYkjnyZxNFGoU3XuZA5rOPzTvHZQZCX94t/JqA 2wuyC6tDmHTO7Q4I7FX4a2+erPVaoRjgb3J9wt+1De6qa0JjmVRggBUKl4OG+XtVxm5g JgJTx2d/mG1kmw/N3NMguB11ZVK1DaK0aSZvQFQdiLedAPV8TN0QMtVV71lba/IaprHA /dFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=aFlGGh9L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 p25-20020a9d7459000000b0069412de2524si4080397otk.346.2023.04.14.06.22.05; Fri, 14 Apr 2023 06:22:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=aFlGGh9L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230130AbjDNNVh (ORCPT + 99 others); Fri, 14 Apr 2023 09:21:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjDNNVg (ORCPT ); Fri, 14 Apr 2023 09:21:36 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B84A0120; Fri, 14 Apr 2023 06:21:35 -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=4n2+V3v5NS7BrPgVP+hnCjbRjgXvefs1QrA/ZzAt1rk=; b=aFlGGh9LKFSqzG3gk5GP4IZVVR aDCSNtXbnQlGh8gbAzVyVTDNw1yE7Kcp6M7hD8NDZeFo7qNgc1r6x4tNIRG4YTomr6vG92QMHBdf4 TaT6NjUcJvRa6LHd+iKTpebivKX4nRnlk6h8nAy+E/2htxm+wtNSCR4RjQy9R8Rpo6FAUXib7k7yj VE8PhACWRGQpowge2ROd6v0cD9juIOFE4BDy4NTP99QIqQn2bLeamnVCDoyjYVfmSbF/X/iY/FTOc GY8mN7syt6HUnehZ196E55XencDVdB6RCMyF5/1yHeMzqMFCwajwo9eAwhWclvbgXPrVqLNQIOqWh EHiUT1Ug==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pnJMm-008lyW-8u; Fri, 14 Apr 2023 13:21:28 +0000 Date: Fri, 14 Apr 2023 14:21:28 +0100 From: Matthew Wilcox To: Pankaj Raghav Cc: brauner@kernel.org, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, mcgrof@kernel.org, gost.dev@samsung.com, hare@suse.de Subject: Re: [RFC 4/4] fs/buffer: convert create_page_buffers to create_folio_buffers Message-ID: References: <20230414110821.21548-1-p.raghav@samsung.com> <20230414110821.21548-5-p.raghav@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230414110821.21548-5-p.raghav@samsung.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 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-kernel@vger.kernel.org On Fri, Apr 14, 2023 at 01:08:21PM +0200, Pankaj Raghav wrote: > fs/buffer do not support large folios as there are many assumptions on > the folio size to be the host page size. This conversion is one step > towards removing that assumption. Also this conversion will reduce calls > to compound_head() if create_folio_buffers() calls > folio_create_empty_buffers(). I'd call this folio_create_buffers(), but other than that, looks good.