Message ID | 20230222013525.14748-1-bo.wu@vivo.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp326849wrd; Tue, 21 Feb 2023 17:43:57 -0800 (PST) X-Google-Smtp-Source: AK7set8sm0bQ6A5i5WZpJz86hrO1/1VOL9xfYgIr4t1ztodVrLbj4XncGpY9BGg8uUszFqqBVOWO X-Received: by 2002:a17:907:7fa0:b0:8b1:72e5:9001 with SMTP id qk32-20020a1709077fa000b008b172e59001mr24529886ejc.0.1677030237527; Tue, 21 Feb 2023 17:43:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677030237; cv=pass; d=google.com; s=arc-20160816; b=KVS8oPtXMvLBlbfqkrBqyXyzCjby7wq67onCIO1iAp76USXeCrP6a1Km3SX3ptazVo Y/mcFfcu9emFA/lAjrRVK2u8qKq5I5yuVq+X4AFKAQIUtcLApX2M9x4WE8hmGJVrlK3P hqAh37x1lWk9CnKJraf7zyzyvAjnXY0n94akcLeYbr4VGu9Y0+Od1cXYbLDxWhCzMkjP T/7PtzpNnVCOhnqW+ORScWJYHTgpUykKwsVZ0/nF/nPb64B+4s+lURkJ7jz+Gim9gqUd 8PqsVOfNCNEH51byLvTqJWFYC3MMP7vWu6y/vOGJGPq+0mbr/9kpHX9h1axjLjcrQxtj cGxA== 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=zNZEcnP06XIzfTbuOOdq/jpXTznIqLDT4PzCwVLOJ+c=; b=w6vTEdqJdFYFcytfaYOZNKw4ybT+aCuqwCzv6KwHNaNdFPX1zwtEnOjBMibnKfWHfi A4HuI+7OdE3NecpGNo0V6KLIleETq9p7DyxFWYF0Ns3UhmG1/em4Wmq+nLHOPFSU5HNm QVUWbHdc397Oulw05ZybD2oflnVHliqdnJXQH1ZhwWEtPPQk/eWCkjlwGX7Iki9r3iUw 6n+kgGcBgfMiD7WY+SdCo87HtDVCn/RqZ3b3OqI4WrSehhE1MDTVGYZN3Wt2TgjXNJsa KNOKw2Cp3/X1k2N0+g9SIutSUBTRLLNiwDSBEwu5HYSR+BZEaCow7fRwa6DJz49loFNU eytQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=i5nswq0N; 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 f30-20020a170906739e00b0087bd4e90784si23823935ejl.850.2023.02.21.17.43.04; Tue, 21 Feb 2023 17:43:57 -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=i5nswq0N; 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 S230328AbjBVBfm (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Tue, 21 Feb 2023 20:35:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjBVBfl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Feb 2023 20:35:41 -0500 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2113.outbound.protection.outlook.com [40.107.117.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C53E305EF; Tue, 21 Feb 2023 17:35:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JsLwf/6XCqQ24QRz42E6uNFT7E8PN7QUvENCEZR0ZrPEHawWrU1+gVC4FtbJsVmsHdPSfeKfJ8euSMsCR6T5RfOpIBl6z1YbSoEZFpSjGCxJ39ehcFh1uJEsO0FwXkC9Voy1BMEBkj4JdIlyTpb+9DUjBdNewIKPTeGSEUvDU/dEaogni+sICnXk+DXCDrobYwZtrkjmZDK1QSHa3hBOAvcIrCaGiS5oRagklJIeD0UGm46Ua9Phgg6uGGKgCUAkh1U4QHPCIgn64Y9+2XOYOPpNf1iJqTS9mgWKSuT5iZtFHV9m+lAflRg7rnjN+ySZkmEQCh09r+fQpGWB1FLc/A== 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=zNZEcnP06XIzfTbuOOdq/jpXTznIqLDT4PzCwVLOJ+c=; b=T/P8Cf1n+5CA5aEpFocnPpV321PUORxtMapsvEfvqSGd/RHxxZ5Fu24tiQp7Ie1f6OHl1twR3g0TmgMZnooZUCIfS6SX1WoU5ZYlXfcpd0a4Yj4EsafKToPUh+kNngYG3/NPn4jDaADkleiBH3SrNUZuHEn7CfewJiKddQ7HLJuf4oLkwcH/XrgKkuInxAun1oRts5Rl85y4IxVy4E1dUPWzEMT3S30adYASEWN74xhz/L8V/Ls7A2jEknWGpx769Or1GI5xG7yfAGac4iIDxj/7wFRhBvejYOvzdHCLbneUnhOVg8eiVcB0cn+BBlrCVdZtpbXts7H9NtBgHhudiA== 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=zNZEcnP06XIzfTbuOOdq/jpXTznIqLDT4PzCwVLOJ+c=; b=i5nswq0NrOhOU2wD3ycSEJePCPhFcxaEebElFVuQzXk7o4mzaYwYBSQp5AKSC8jOGLm+DrO4nM1As/s8uOPy2Kji7r7+D4STE1pI3Y1kfYs/ZINQC/aK28aLahOrdRWa7ZCCoChSh91wzDKb5/r7NtpZdX0lG/M5JztF8eM8730JsAGeT6tJJF9EteCmWI6X5jz47NzNcw4n5hFF6EVtbvyAR7XIsR2uAeK+ORYmU/KQyd+rcIirbRkTq5xJ+dUXF2qQSi25IPfFwu7SnFNB3gD7PEzMjuRcYxrnyGGZfw577CZjMKCZ9FnWrhLeEukSOqx3haO3Tfpq2uXDHijXug== 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 SI2PR06MB4044.apcprd06.prod.outlook.com (2603:1096:4:eb::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.6; Wed, 22 Feb 2023 01:35:34 +0000 Received: from SL2PR06MB3017.apcprd06.prod.outlook.com ([fe80::a700:8843:3175:1dd1]) by SL2PR06MB3017.apcprd06.prod.outlook.com ([fe80::a700:8843:3175:1dd1%7]) with mapi id 15.20.6134.017; Wed, 22 Feb 2023 01:35:34 +0000 From: Wu Bo <bo.wu@vivo.com> Cc: Wu Bo <bo.wu@vivo.com>, "Theodore Ts'o" <tytso@mit.edu>, Andreas Dilger <adilger.kernel@dilger.ca>, Jonathan Corbet <corbet@lwn.net>, linux-ext4@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] docs: ext4: modify the group desc size to 64 Date: Wed, 22 Feb 2023 09:35:24 +0800 Message-Id: <20230222013525.14748-1-bo.wu@vivo.com> X-Mailer: git-send-email 2.35.3 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: TY1PR01CA0201.jpnprd01.prod.outlook.com (2603:1096:403::31) To SL2PR06MB3017.apcprd06.prod.outlook.com (2603:1096:100:3a::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2PR06MB3017:EE_|SI2PR06MB4044:EE_ X-MS-Office365-Filtering-Correlation-Id: 7e6269ad-743d-444f-c27d-08db14751792 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fSOuKHsiSna/AO/5PyFoqrbzaD8P187NKY+gMnWJV+4JDUHJSx9xz0MzWBhpk2Nd1gnAPI4YTHAlQNuVKGwDaHkGPrj5USYUe85dLiOJAglqHvjhyFE4MPSWBETcXz0NI1EZmWyNLnjaCPYyxZplTvjmTPfn14HB7xrkdZuhczBJEMLwQg9e+LcXhqEXBgC6vcaXwA3Y5DMDJifKExSPe/gie6yAb2XT9lRrY6VkljrVsA0QeWgV3FdtzhlJj68tKkWr2KwW4/9WdC3fDREzLwpPl+kA4TJsjunk6D9YLnYxvER1HgIj+/qjShoyRIJcmAL70ZW/hhqwyWvkuw7wqGTKIJyO9ew9T0kYCSmDdujxl1SwcJyGQqYtRLUdzpL2JeZBC+EmkkN6rkF1Bng6MLLqLGG/2l9jm+CztpUgTv6xeSJMLxfww5yLRZddTTYTRwM6dQHHaf1WjuIQLXC9aCgi4QibFdbouBZjAirlOKXwQXNyXwoWgc8OdWc7IU/r8fmcX7WF4zoUy5xeSAhUvzTYZaphco4IGEkLVhMBgD+JIJfsXzfiz6rpYqDl0XJJHhDVhWeU291tsh4UQYvkjjFy/0r+vNRM6UpK2UayIev48vpKVHHSUTeLSSRRgu2gx0S656vK6pKIvn8QIVDJkVaExkMVZeoleux4aMz5puNpbmxLxfA8mcGyccQQxQwBIC+XPP0+UHAb3KCaxrrid8O+0t0HSYbl2kHYqJNXuU4= 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)(376002)(366004)(39860400002)(136003)(396003)(346002)(109986016)(451199018)(6486002)(6666004)(186003)(26005)(83380400001)(1076003)(86362001)(6506007)(2616005)(6512007)(2906002)(36756003)(38100700002)(52116002)(38350700002)(316002)(41300700001)(8936002)(66946007)(478600001)(66476007)(5660300002)(4326008)(8676002)(54906003)(66556008)(266003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mepzAc/Tks0Ufd8RxanfyOtzKjpadTF3AYLOswwp6HBKLF6D6pPVOTWTC3coWSxGTP2o4fKQYCltxENF+FDZJycUuUz+avf2infKAlcaGp9nlhaDCYfd3ON/HsG4vkNmd/tIKAhxUcKZPjGoMpGNfdyREGaN5wUONbAm50LwwULKk3U8SS/Nf/QZEo4YpEeuPNNq8o5k9XJreedNKM0vHKVyctvgQRMxyNp5nUzHMZg56CgXmzS6No3uCSd6ukhUuleOGhcUC/sHIrAGGMN3RXoU9aJMdkFfRRcziy5sgRqonhFIKNV+bMJcjunLj6f3SAb85c1G78uXnmP53V7CTF+kyp79Oua1iIFYir/QZmFM96YHxjYc6IExcwKhYXcQkZkV54/VTTjs2tthnabEjyQzcMTWnPes9q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TRRJeeZ3gD9C8wRio2BWxBtvbpafBfPFHNgAnHcrsTOd+XMjW8st9Rj+g5XCDGvvzBErlsVGr0e4EmdAAgbnEGLe72C/uboe2s7 X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e6269ad-743d-444f-c27d-08db14751792 X-MS-Exchange-CrossTenant-AuthSource: SL2PR06MB3017.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2023 01:35:34.5248 (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: gDR4SFB4Sg9f2gSt/ifAle1OT6N4No9YCqYndod8x1PMJn3OO+RBR+TfQJt9BbBi/FEijQAbxNz3C+AwndMHyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB4044 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758493658148037920?= X-GMAIL-MSGID: =?utf-8?q?1758493658148037920?= |
Series |
[v2] docs: ext4: modify the group desc size to 64
|
|
Commit Message
Wu Bo
Feb. 22, 2023, 1:35 a.m. UTC
Since the default ext4 group desc size is 64 now (assuming that the
64-bit feature is enbled). And the size mentioned in this doc is 64 too.
Change it to 64.
Signed-off-by: Wu Bo <bo.wu@vivo.com>
---
Documentation/filesystems/ext4/blockgroup.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On Wed, Feb 22, 2023 at 09:35:24AM +0800, Wu Bo wrote: > Since the default ext4 group desc size is 64 now (assuming that the > 64-bit feature is enbled). And the size mentioned in this doc is 64 too. > Change it to 64. > > Signed-off-by: Wu Bo <bo.wu@vivo.com> 32-bit blockgroup descriptors aren't that ancient of a disk format, it's probably helpful to mention that one should double the ratios for ^64bit filesystems. Also: Not sure what went wrong with your emptyish To: line? If Ted's ok with this, then: Acked-by: Darrick J. Wong <djwong@kernel.org> --D > --- > 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 > -- > 2.35.3 >
On Wed, 22 Feb 2023 09:35:24 +0800, Wu Bo wrote: > Since the default ext4 group desc size is 64 now (assuming that the > 64-bit feature is enbled). And the size mentioned in this doc is 64 too. > Change it to 64. > > Applied, thanks! [1/1] docs: ext4: modify the group desc size to 64 commit: b7eef407e5271f5135ce97bfd6e2e5009922331e Best regards,
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