Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1554174rwb; Tue, 27 Sep 2022 15:05:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5vmZ6FH5HB57G4uSyPjviYqwLniZKEnHrfd9lz3o/5vJ4X/1fLApr90fnhsIIFaBpOa4UU X-Received: by 2002:a17:906:99c1:b0:6fe:b01d:134 with SMTP id s1-20020a17090699c100b006feb01d0134mr24324192ejn.598.1664316347644; Tue, 27 Sep 2022 15:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664316347; cv=none; d=google.com; s=arc-20160816; b=NovJvVxVWB5+fYZgI0SM/hFR5v1T+xPxQ6qNEUE+S21LYeCsnuPk2AYhxXSUtoKySv w408eJ0y+pz7S7A+2dpx7D8WtchUv0ynB8nAXloJ1DzRdTUQ3XejmM7NsrUmrhYeFE8T tZ0N17ZUMnl8ya1x17w66dBMCHmBBkGgGgMr6hB8LHFwhjW/UWwIWvn0kC9PjD33CgFR 9/U8i9gD7ZyeI3IYB9Q+0SYOa0VByzBRzfO1ny+SGj9SvAjihZrRhoacoo38x1SjuDgU XTbyP76O3E0L35ZUCl0zRYtUQYpV8pcMRdEYdG8aGa4Qvs5XK2UB29OSv+NGP8Zx3KhB 8i2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tjj0CMLS7u7I8CGKPk57YOU2LucDrtahzefDHJvuqfU=; b=rbXTkhdZWZTjab1gGma8n7oozxl7zQ09O+1ffPrOKCSXG4oR67vn332GRw2jF7LBtC TCax/b+Wx8l4RZWGI046g6IcBAucSRecZxE4qWqKWW/avpUAp0cRuXWtltX9xN5+le4r 9REkBUd4NjzWKFhqu1RQgFjCTddvC3Fie61kJKIRL4HMiPwiCU9rwhkBqa3Gpgy28NzU aVgkJK0PbP4sgjviQZpeKoe7Kb4ty7atHaSVF1dM7BRSi/bLoIEUqJrIe5AobtaimSll k/KOcZ4x4ODCY93DTuKg/bInyeBJH2DxhZ85XW5lvTLyU2H//UXvdIoq+BoamJN3YiKZ vW9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=QWYxmlNV; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i22-20020a50d756000000b00454531e3163si2419582edj.522.2022.09.27.15.05.19; Tue, 27 Sep 2022 15:05:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=fail header.i=@mit.edu header.s=outgoing header.b=QWYxmlNV; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231967AbiI0Vxr (ORCPT + 99 others); Tue, 27 Sep 2022 17:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231881AbiI0Vxp (ORCPT ); Tue, 27 Sep 2022 17:53:45 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1400610B234 for ; Tue, 27 Sep 2022 14:53:44 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-120-46.bstnma.fios.verizon.net [173.48.120.46]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 28RLrbgr032605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 17:53:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1664315619; bh=tjj0CMLS7u7I8CGKPk57YOU2LucDrtahzefDHJvuqfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QWYxmlNVDxmVFhO1amhd3TqzTwK4KuFnK/SE2MWNZY7j6hklw5JEu3U0JwRn6v2gG 7KKq/7j3XSiKIUjEXykFPhJs9kSiWbsmY4k4VuBu8OsWeijEr6EG8oZ4USupHKzl6m 096X3Tf/dt46CxynamCu1CsiKVRJGbnMLv3jOj8VIJeGaX9zWIgP3TN76+lIzU/Zpi NwwCWYJsRB/3oLN0SY8Z2pvdH61njZ+Ym239RECY+F7JB0xdomvvwKcHdMqanFZA1g vSzdzkDtEgn6QP0kFYPEc3rwfnTWQGwZaFXYo9ESpVyviSHDSbhM0MYOCTncMYMvIg RbixR+cQHPk/A== Received: by cwcc.thunk.org (Postfix, from userid 15806) id A13D915C528B; Tue, 27 Sep 2022 17:53:37 -0400 (EDT) From: "Theodore Ts'o" To: jerrylee@qnap.com, linux-ext4@vger.kernel.org Cc: "Theodore Ts'o" Subject: Re: [PATCH] ext4: continue to expand file system when the target size doesn't reach Date: Tue, 27 Sep 2022 17:53:33 -0400 Message-Id: <166431556704.3511882.8729097617255264599.b4-ty@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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-ext4@vger.kernel.org On Mon, 18 Jul 2022 10:25:19 +0000, Jerry Lee 李修賢 wrote: > When expanding a file system from (16TiB-2MiB) to 18TiB, the operation > exits early which leads to result inconsistency between resize2fs and > Ext4 kernel driver. > > === before === > ○ → resize2fs /dev/mapper/thin > resize2fs 1.45.5 (07-Jan-2020) > Filesystem at /dev/mapper/thin is mounted on /mnt/test; on-line resizing required > old_desc_blocks = 2048, new_desc_blocks = 2304 > The filesystem on /dev/mapper/thin is now 4831837696 (4k) blocks long. > > [...] Applied, thanks! [1/1] ext4: continue to expand file system when the target size doesn't reach commit: df3cb754d13d2cd5490db9b8d536311f8413a92e Best regards, -- Theodore Ts'o