Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp242145rdb; Mon, 18 Sep 2023 13:42:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6Hmbk3NAV69yBlWyyQLZHuyID4TrolnepIFL8dUMVZy43HOFuftNALV2aI+zT/cNmKLAW X-Received: by 2002:a17:90a:fc89:b0:263:ac11:c6d2 with SMTP id ci9-20020a17090afc8900b00263ac11c6d2mr7975003pjb.25.1695069731713; Mon, 18 Sep 2023 13:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695069731; cv=none; d=google.com; s=arc-20160816; b=T1CSaBybhv5QGKjON+FeBXHIlJ8jjOBp/5guQv/I50DVkN6k8MF44NHpuzbbFOGJyO z6O1grjmwzsZCOjAT3RSBJQFUdj+0MvYIJ3j+Z6aGYaJUZr7X86Hb11zYiSA0sOPj8Tq mYcBwb3aheoW7an3AW9PcRvQpNCJc17fFjL/VPZrH2z/3qsnUhpOvPI2YPRoLYmM/XHA di2lFR+6bRUBwJiR9lpXjIlfsh66kjvztcFz6M2CHxqPrM3xGbyfz6eqrIkQE3bdsGx4 K+KJuHEbin25sj8KknWl7qfKQ5X86hfC8XylynnROGbJmeelCIphbwbahMgeGnaXyaX2 ABkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :in-reply-to:from:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature:dkim-filter; bh=i8zc9iaYygMGUIBqdtuTE0T+kxO2lOWm6HxzXg91t0A=; fh=3Iq2hZ3zwTZGYNTrFMrMnFpwjpBKc0sM+X2AfbFkniE=; b=NSgKGiLOMmbXnJeP4mybbKGwxQbqEhwPeZ53Oiwj+xpAHy3NasImnX3sigbycOgqeO F3Is1VbXUzTgqfS0tA8kiyCUbjeQ8Q7j3PNY0zN7rkXHpFC4sxttvYuT3ocEM8CZ4PQk UoGKlmwWDF4Vk6a6FPU3pDLRY0e65/pDPGXNPe2bgirLvo4TewmlhhsJsvciOihtDJFi cFWiuX8qmk/ot7oagmFg9Mlmy3B2egjt8KZ8outCTagCAcHlgAl+Q2wUu1JSIl9iyr10 YLDiXB4Vdr6VA0LQBFgRaR2twZeWNfO8jUYTmWSoPeSrOrWZKZkN4tLuKLqPngRT/Sut VVmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=f8WxOS+s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id fz14-20020a17090b024e00b00274ac601d66si5568833pjb.11.2023.09.18.13.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 13:42:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=f8WxOS+s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-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 pete.vger.email (Postfix) with ESMTP id 93F6A81DF26C; Mon, 18 Sep 2023 05:36:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240041AbjIRMf6 (ORCPT + 99 others); Mon, 18 Sep 2023 08:35:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241946AbjIRMf4 (ORCPT ); Mon, 18 Sep 2023 08:35:56 -0400 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B468CC7 for ; Mon, 18 Sep 2023 05:35:33 -0700 (PDT) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20230918123530euoutp01deecb03ae631b7414b8cd4669791d149~F-mHUoLRQ0358503585euoutp019 for ; Mon, 18 Sep 2023 12:35:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20230918123530euoutp01deecb03ae631b7414b8cd4669791d149~F-mHUoLRQ0358503585euoutp019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1695040530; bh=i8zc9iaYygMGUIBqdtuTE0T+kxO2lOWm6HxzXg91t0A=; h=Date:Subject:To:CC:From:In-Reply-To:References:From; b=f8WxOS+sD490Ku8mAk2RRHaG5OUoSM+QIFzy7fI2MX5a8OmyDBWC7bJVDt0pBsEoR YjrA55Bo2A4BTYdceI14iaGzzGFeE68fcIykblzXJxmG2KcWFoh5vQVXs75HjT2zdl yM22O85vKSiTEd+QcdTfMU4I3nP9gWATykbL8nhE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20230918123530eucas1p1b02dd398e6cc9f91afea96d8d9493af9~F-mG5gCKT1129911299eucas1p1c; Mon, 18 Sep 2023 12:35:30 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 72.9A.42423.21448056; Mon, 18 Sep 2023 13:35:30 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20230918123529eucas1p2eff7928119d9f97e7b4e338408db7a16~F-mGbTQOz2707827078eucas1p2W; Mon, 18 Sep 2023 12:35:29 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230918123529eusmtrp1d6a09092578b08891381f7e1215e6077~F-mGYvN8b1928419284eusmtrp1U; Mon, 18 Sep 2023 12:35:29 +0000 (GMT) X-AuditID: cbfec7f2-a51ff7000002a5b7-46-65084412f88e Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 21.76.14344.11448056; Mon, 18 Sep 2023 13:35:29 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230918123529eusmtip19fdff081bcf68bf4c4329787c4676c3e~F-mGPMTH81256512565eusmtip16; Mon, 18 Sep 2023 12:35:29 +0000 (GMT) Received: from [192.168.8.209] (106.210.248.18) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 18 Sep 2023 13:35:28 +0100 Message-ID: <4dbdcc6c-6bd1-faf4-7187-cc048acd2125@samsung.com> Date: Mon, 18 Sep 2023 14:35:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC 00/23] Enable block size > page size in XFS Content-Language: en-US To: Matthew Wilcox , Pankaj Raghav CC: , , , , , , , , , , From: Pankaj Raghav In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [106.210.248.18] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA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cst5fO+Z6Fl2zkhZlYSlpXpnl /pv91J+Ateb+K34HSWv8fvjhROSdOQ88C8UfzA9LkZ2Vol9z5LbcfJ2SH+/2GC9bf5rJg7VO ONrALkqq80W2z0Gvyl43PiWW4oxEQy3mouJEAELC1IKEAwAA X-CMS-MailID: 20230918123529eucas1p2eff7928119d9f97e7b4e338408db7a16 X-Msg-Generator: CA X-RootMTR: 20230915185016eucas1p18b6d44c1b875ef8d87a9575e3ddff8d1 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230915185016eucas1p18b6d44c1b875ef8d87a9575e3ddff8d1 References: <20230915183848.1018717-1-kernel@pankajraghav.com> X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 05:36:36 -0700 (PDT) On 2023-09-15 20:50, Matthew Wilcox wrote: > On Fri, Sep 15, 2023 at 08:38:25PM +0200, Pankaj Raghav wrote: >> Only XFS was enabled and tested as a part of this series as it has >> supported block sizes up to 64k and sector sizes up to 32k for years. >> The only thing missing was the page cache magic to enable bs > ps. However any filesystem >> that doesn't depend on buffer-heads and support larger block sizes >> already should be able to leverage this effort to also support LBS, >> bs > ps. > > I think you should choose whether you're going to use 'bs > ps' or LBS > and stick to it. They're both pretty inscrutable and using both > interchanagbly is worse. > Got it! Probably I will stick to Large block size and explain what it means at the start of the patchset. > But I think filesystems which use buffer_heads should be fine to support > bs > ps. The problems with the buffer cache are really when you try to > support small block sizes and large folio sizes (eg arrays of bhs on > the stack). Supporting bs == folio_size shouldn't be a problem. > I remember some patches from you trying to avoid the stack limitation while working with bh. Thanks for the clarification!