From patchwork Mon Feb 20 11:06:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wu Bo X-Patchwork-Id: 59377 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1248620wrn; Mon, 20 Feb 2023 03:15:17 -0800 (PST) X-Google-Smtp-Source: AK7set/8YQ5NR4gJCHWxe+owP0SiNAHqO590dluGgLoByd32kHcOaBXk1OIymxfy6YSRPbDd8od6 X-Received: by 2002:a05:6402:197:b0:46f:a6ea:202 with SMTP id r23-20020a056402019700b0046fa6ea0202mr2740024edv.37.1676891716939; Mon, 20 Feb 2023 03:15:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1676891716; cv=pass; d=google.com; s=arc-20160816; b=a3YSsJ3FcKiRjspgnDgqRdpeEqQ1YLr4y30u3JUFwRkJYyOdJLsQvZVomEgo8oMVNF 2HvWXjd/3cBDoaaMIDM5xkpJlRC6ASC8ETiYQ8Z9YXRYG5fcWXmnYqhC4jE1CEFGTkDU rYmhyF5ClsXLUQh+2amOfPkU+V3dJuHgslwCYFlHvRiFR1wdYDXu4Y6/43SHf0gWEcAL JJ6bFleUXDZhv29WZifIGIgXQzDDD4tTIyX1PNvmyXqFbIe3ftak0xOC1ka9RNenvRx6 28fiyA12zkIhPILxT0RHMOdTin/8w0xNOJyQCxHDW4lIKm01e/Uuk03FkV/0jsyxQhnt ucEw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:content-transfer-encoding :message-id:date:subject:cc:from:dkim-signature; bh=kc+mo8v8tEmX1UVxuNnK+WNC2WlIeHEDqPk4EtUEh5o=; b=yhEadL2CMiNRaAYUVJOI7hAkLf0Nyca+rjGxHYFvKhdmfeIO60qkYP9Ep57ipclcDX hHZ5ZKMqqQOxrQ4bgtdnN/lFyv6HIwChUMiWp5BC/KB37lRzh3weLPdbkgPtNfIfNL/u xyRAMlkmPfK0yok7L6hCWAcUihIy/p+oPjNIDzD8n/Les6XlpRC8UZsNVDULX14GCOJG uCGMWxL00NIIrz3mrNB5amanBv5Sx0Kp8lcMxc6UymeqAaZbsDqyaL1h8e1Zn8rwlB0x mxvsYCKTsU/h0jtroVm43WRRxSJazZNj2DQ/2UTfd5581jw8Q9xvJxha+kg1tfWilabY rCDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=ijOTxMZf; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r2-20020aa7cb82000000b004ad7c470e8esi642369edt.143.2023.02.20.03.14.53; Mon, 20 Feb 2023 03:15:16 -0800 (PST) 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=@vivo.com header.s=selector2 header.b=ijOTxMZf; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231208AbjBTLIE (ORCPT + 99 others); Mon, 20 Feb 2023 06:08:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230040AbjBTLHm (ORCPT ); Mon, 20 Feb 2023 06:07:42 -0500 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2109.outbound.protection.outlook.com [40.107.255.109]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A789E7EE8; Mon, 20 Feb 2023 03:07:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CNdwSDTM/wItOyXlf02TFA+6tD6igkHbrHI7tyLqCfRmOxE5bKqryAOxHLP/j/sTKleF08hK3gVE+a+ZmgFY230mlXNjr5bdgXezFM9ZmuvVnev6sFQMJ72z+IzXKbbFkAXxJ6MXwUvUxUPdI5lh2501b1acAnSE61G6voop4DutZjw89NjRpi3EsCs+TpdM5dA5lutFwOhZGp6AvFyLM64zVeCJDgS8arPM+wIr6s4/l8/9hXJNIfqyjzLaAB3mtsvLKyq5CIkXffkDsEwWoEi179bVnAHR/oDeAmgXGERjHE1JGgjQGwZAl9PL5QGTtYqnVKbcer83rroAmCZ6Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kc+mo8v8tEmX1UVxuNnK+WNC2WlIeHEDqPk4EtUEh5o=; b=RgEzo/Ex8CFn2hSWKla6Fp7eQRtREFDifflAnothT46FazQBIn60h+pQBT7KvyqJY5e72gvJKm/L36jE9oMoBdNJ5R96/UTO+KPHZ32CHs8csjg6C+f9LU7r3fRLWSEoPt6Y+ckLAlI0jzSKtcZSDTkjZ3BUL0U3RoQoGG0K9y5FYhjz2ZH7/mHdpI9tLDlAtZZWbN3Ouu2wtS3D5BlaV+kZr0pX0kGgfWo8XPYgsTMmCWEPCm+NN6enl5/6+lJrDSiBN3+sBk6SXw9XPGp3X7aomghGl4hPingDmdaN14F2tWSjydOJq2LLP8FjQ0G77Yl0OMOK+hqV8kjQ0UISaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kc+mo8v8tEmX1UVxuNnK+WNC2WlIeHEDqPk4EtUEh5o=; b=ijOTxMZfnTNO7tEyz/8GfTzjeOO9XhLITxFjMoBxJdKdO7089nqmrVnhfCR85BG7FXO7lrSmEjgdeBK9521IvCfO9PhMwvvmu7qixpcyVsuU9zfSYuymTxiE4jxCVzuN76oBN6rtfEZRrvnk0FIE/xPJ5QP4JAEyCXgG9sCPHSI5yGHfVO0aI3QmdjgqHtAQ7SvL5cfYNS7/XI6/Kl874MJMAVXp/VX0GKP+W5dlYbslrNjQXQd50W/3/Ix9H8r3YazYbt6/BXy1em4A6vGs5an7GfvL+goH49M1WpFZHkUO3oE9DWwu1nlh3iI4oIRKXwBiJU+lcKjX19Knn9YS6w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SL2PR06MB3017.apcprd06.prod.outlook.com (2603:1096:100:3a::16) by SEYPR06MB5937.apcprd06.prod.outlook.com (2603:1096:101:d3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.10; Mon, 20 Feb 2023 11:07:36 +0000 Received: from SL2PR06MB3017.apcprd06.prod.outlook.com ([fe80::a700:8843:3175:1dd1]) by SL2PR06MB3017.apcprd06.prod.outlook.com ([fe80::a700:8843:3175:1dd1%6]) with mapi id 15.20.6134.006; Mon, 20 Feb 2023 11:07:36 +0000 From: Wu Bo Cc: Wu Bo , "Theodore Ts'o" , Andreas Dilger , Jonathan Corbet , linux-ext4@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] docs: ext4: modify the group desc size to 64 Date: Mon, 20 Feb 2023 19:06:37 +0800 Message-Id: <20230220110637.42678-1-bo.wu@vivo.com> X-Mailer: git-send-email 2.35.3 X-ClientProxiedBy: SI2PR01CA0008.apcprd01.prod.exchangelabs.com (2603:1096:4:191::10) To SL2PR06MB3017.apcprd06.prod.outlook.com (2603:1096:100:3a::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2PR06MB3017:EE_|SEYPR06MB5937:EE_ X-MS-Office365-Filtering-Correlation-Id: e12727e6-c679-40b1-e488-08db1332ac74 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ADY6OZARFaFS4L5jitbmqpDERpbQnS6kFFmytWtU89o5HqJHRJ3dT4U6YbuozdUGe1n0BfLRIpVH04uZAG8XaTywbZBq1mca6bxozPYRolWEDrUKq11/BdpB3BVYTA0yN+bYxec10tfbZXQtkrYO5aoPe0wFgI4lqqsL9r60Uk4/iWnGA5Y5EKZta54SxGx/bxpHNzI7rIb3Uz8DgokMryXSrDV4TrhEEdx0ag3KfT8UpNzC7q1nn6J9a64H2MAR5sSNvQJadUafunLOIj2n9TuqoP6kW7LPs7i1/ETCRWNk1OZ/LnyfGbxai1+Lz/o0pgFBOAnxeJ8qFbFBodyQyGxgSm972OrUgR4fNiF8RcVSH1A2UHnI9Xd4/Qg7KNoz6xd9mpW/bR3sMvtCNbIQc99vK9xIh046lGMPIniNiqqKlcwYVxY0DmB1XM/c74t50bvtBDX7/I9oDtSf+L/BPtjGrAWBz6nEcfynTJJWukcpId2LAFk9c3D8z1pu76oSREPVLAvLQZSHI9+rmd1MzA+ufXuB8S9gtzXbdfJ13w3d7SoS+Gr5U0pidwMygkzym5LvKVhhS1ubF8rpPFPzk8fdMXh94t3o/42jQeEBS8F0rz6U3OsCOkkFT2J1L0JByYz3n/TvCwIEhAO47pVv15/mqZcT5Zjb7zHMR95/1THoEzDhE2z6pqdu81vusNeForO1hWceq/MtEoG7X2zHNoK0vCZZXN64i3xnMbj0SpE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SL2PR06MB3017.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(109986016)(451199018)(66946007)(316002)(41300700001)(83380400001)(8676002)(86362001)(66476007)(4326008)(2616005)(36756003)(5660300002)(8936002)(186003)(6512007)(26005)(66556008)(6506007)(6486002)(1076003)(52116002)(2906002)(54906003)(478600001)(38100700002)(38350700002)(266003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HD+Plzr1hQCraJQlfagjTVkxny21OZcLz1OpHU/wujummGoH6aSh9+SFOYqtUUrp0omCOt06Ow1Rf0Hsar7yemuTKhBXd1ToxO5y0FQ47iKBr1otlqaK8bMidVUm++9bzoy109twnYwDPbKMU5lzhkIGODP6qGLYwvEX2RAssb/Wcd6lXlPPFlSbfD4VOc7D5QCKB/IXmkMxoOtBaqFui8MAWBFmJrB1qX78dDDRs5NxwZ2LZMPFEyMr8j4JszKdPha7U4cdnItjX5M7wZM5Kl0kGDa6rdEFJg2nlvaxrux9RbjdrEc/TDuVH0eF0HDM126b39i5K7xf8VLMd5TbPY0PGDsZOz7ag5JQZLqn2JRKhpNQzBpjF3ZJ5GQQRFL7woEWY1kysQMfGEXZmk+FAH+kogz64iorR2no+65/nLLIMchIgE6VRQNio7KQUqDtjCmif4w1wluGr+dLv+UBIAQCdY+3Q2fKWupwYziTO6E4edRmvxTh60PTpIjhR4oGkPY/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OBBPI8QP49tLKpOufn X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: e12727e6-c679-40b1-e488-08db1332ac74 X-MS-Exchange-CrossTenant-AuthSource: SL2PR06MB3017.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2023 11:07:36.7253 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kf3NarGz2Of4u5PLIOytJWFBdJdbk71Vc1zKQkXbH3IuHynkKVqfdJUw7WcGX0OdaUjpt7BNsdP2mrKbRZpe+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB5937 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758348408941114383?= X-GMAIL-MSGID: =?utf-8?q?1758348408941114383?= Since the default ext4 group desc size is 64 now and the size mentioned in this doc is 64 too. Change it to 64. Signed-off-by: Wu Bo --- Documentation/filesystems/ext4/blockgroup.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/filesystems/ext4/blockgroup.rst b/Documentation/filesystems/ext4/blockgroup.rst index 46d78f860623..ed5a5cac6d40 100644 --- a/Documentation/filesystems/ext4/blockgroup.rst +++ b/Documentation/filesystems/ext4/blockgroup.rst @@ -105,9 +105,9 @@ descriptors. Instead, the superblock and a single block group descriptor block is placed at the beginning of the first, second, and last block groups in a meta-block group. A meta-block group is a collection of block groups which can be described by a single block group descriptor -block. Since the size of the block group descriptor structure is 32 -bytes, a meta-block group contains 32 block groups for filesystems with -a 1KB block size, and 128 block groups for filesystems with a 4KB +block. Since the size of the block group descriptor structure is 64 +bytes, a meta-block group contains 16 block groups for filesystems with +a 1KB block size, and 64 block groups for filesystems with a 4KB blocksize. Filesystems can either be created using this new block group descriptor layout, or existing filesystems can be resized on-line, and the field s_first_meta_bg in the superblock will indicate the first