Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1398908rdb; Wed, 20 Sep 2023 08:07:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGeTehEo0DRPVNCiD6qx95DCG81OyMgA1gT0enQt0RpuwWED5rQLQ+uQtu4gQbgnAf68YZC X-Received: by 2002:a05:6a00:cc8:b0:68e:380c:6b15 with SMTP id b8-20020a056a000cc800b0068e380c6b15mr3219434pfv.26.1695222447643; Wed, 20 Sep 2023 08:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695222447; cv=none; d=google.com; s=arc-20160816; b=F+GrMJFfQaHy7bhRcAaXKhmbOWyKbOqq3YihKGzKQzueTSDAo/KCyLlshy1gyZrXml zKD1/Lzo2tLBMNUe5+kgqdULbqqByxT2puhzgWL44fg1eoTKJmvsXTgmVyAy+IUbXUEN GEvh2T9kg6yZNor3dxr2Ik+qamzHqlSMbG6m+utvHn+0xqgFfyqiADxtlUMA71sUjjzZ Kt44iBCjpUqMZE1xYsdB3XeUpZcQmGhmE6SE93KkX2qIvvUQ/epnDwdlVyWCv3gFu5OJ 8zvdzWQ2FxI5+l2gBTetBU6L3pafuEDYIQ/vfi53oYOFq6kLnf64zzNWMtq4p1i545VX EAmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=8FReEKvP2/9isPLe8nU44iPC4r0J6E6Ai2YqflXjyCw=; fh=3dana7FXdk8/Ex2DdDq4t0BY+msgNJKkVJC30TU5HWg=; b=rnY1a9C4S0kfTyg5KFiwDAEk5Q5oftsGGe6Hj+6wxGBPcSyqVX8u/lWkR14OOYvVUl 3X2BB1B3ia4RXCpCLcDMlUIFVkjiS0n+u+Z1FPmOhqhGgowcSgIaiwtOavBYDf4WxHpv 5kdIgitCK1XUQ+zRhTzmfyE+F9vrENgEuDidGtu3McqN4VenAsRo//GNG2XlsugCesfe BWaF1MqbDA0nLQLt0jlojnLXYP6rvaD2LkjYsnufaX7Ey3S5jyLdFGOJKOR9g+yQrmBX e9LevDI8YvlGtroaJ26pssxN69uQ2dN6hgIqf5ASQfm4EqctKEhnsB1KJUazelB27c8M FB9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=uaT+CpPy; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id u205-20020a6279d6000000b00690d935fa4csi1926681pfc.356.2023.09.20.08.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 08:07:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=uaT+CpPy; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CF6A980AF3ED; Wed, 20 Sep 2023 02:40:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233968AbjITJkG (ORCPT + 99 others); Wed, 20 Sep 2023 05:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234048AbjITJkF (ORCPT ); Wed, 20 Sep 2023 05:40:05 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80032A3 for ; Wed, 20 Sep 2023 02:39:55 -0700 (PDT) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20230920093953euoutp025002979429be9ec222b5c6e8288cd7af~GkfWTkr4D2995829958euoutp02n for ; Wed, 20 Sep 2023 09:39:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20230920093953euoutp025002979429be9ec222b5c6e8288cd7af~GkfWTkr4D2995829958euoutp02n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1695202793; bh=8FReEKvP2/9isPLe8nU44iPC4r0J6E6Ai2YqflXjyCw=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=uaT+CpPyHBwpdMTbYTG9qjqIoJ4UjIlkSvhYzSUimcVVo9AJql9kekFLgl5327hHh ygOlYrCF+RHeFYZ6AABShpEMUEqTaJanfheZ26NoUsEe7TmmlqriAXfYygmxVFdmXA HaefDCueGx1VstS842F9y1awIj3Ars2LP4C4JJyk= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20230920093953eucas1p2e4ddd2dff879f9e82eb8f372d4047ebe~GkfV6bAqd1033110331eucas1p29; Wed, 20 Sep 2023 09:39:53 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id DE.F3.42423.9EDBA056; Wed, 20 Sep 2023 10:39:53 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20230920093952eucas1p1f37c688dc553d6a85882cae29861a870~GkfVfnlkC1425614256eucas1p1o; Wed, 20 Sep 2023 09:39:52 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230920093952eusmtrp19fb74615e090c3af0b84edd4126d7846~GkfVe4grm3119431194eusmtrp1F; Wed, 20 Sep 2023 09:39:52 +0000 (GMT) X-AuditID: cbfec7f2-a3bff7000002a5b7-f9-650abde910e3 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 80.32.14344.8EDBA056; Wed, 20 Sep 2023 10:39:52 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230920093952eusmtip20633d16fabb312d639378e5ebaaa4d6a~GkfVNjSlQ3193531935eusmtip2V; Wed, 20 Sep 2023 09:39:52 +0000 (GMT) Received: from localhost (106.110.32.140) by CAMSVWEXC02.scsc.local (106.1.227.72) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 20 Sep 2023 10:39:51 +0100 Date: Wed, 20 Sep 2023 11:39:50 +0200 From: Pankaj Raghav To: "Matthew Wilcox (Oracle)" CC: Andrew Morton , , , , , , , , , Subject: Re: [PATCH 01/26] buffer: Make folio_create_empty_buffers() return a buffer_head Message-ID: <20230920093950.b6lyvcs2tz22po3y@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230919045135.3635437-2-willy@infradead.org> X-Originating-IP: [106.110.32.140] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (106.1.227.71) To CAMSVWEXC02.scsc.local (106.1.227.72) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNKsWRmVeSWpSXmKPExsWy7djPc7ov93KlGkx5xG4xZ/0aNovd0/+x Wsycd4fNYs/ekywWf6abWLR3zGG0WPl4K5PFoXtXWS1mb13BbPH7xxw2By6P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X-Msg-Generator: CA X-RootMTR: 20230920093952eucas1p1f37c688dc553d6a85882cae29861a870 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230920093952eucas1p1f37c688dc553d6a85882cae29861a870 References: <20230919045135.3635437-1-willy@infradead.org> <20230919045135.3635437-2-willy@infradead.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 02:40:15 -0700 (PDT) On Tue, Sep 19, 2023 at 05:51:10AM +0100, Matthew Wilcox (Oracle) wrote: > Almost all callers want to know the first BH that was allocated > for this folio. We already have that handy, so return it. > > Signed-off-by: Matthew Wilcox (Oracle) > --- > fs/buffer.c | 24 +++++++++++++----------- > include/linux/buffer_head.h | 4 ++-- > 2 files changed, 15 insertions(+), 13 deletions(-) > Looks good, Reviewed-by: Pankaj Raghav