Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp556213imi; Fri, 22 Jul 2022 04:57:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u0BLOVFNw8PfvMTwFGbhqpWvZ5jeNnF1+xb8emlwKP1Tg5mIUUVqMFkH8BK1hJvM3lWEG4 X-Received: by 2002:a17:907:a05c:b0:72b:347b:4f59 with SMTP id gz28-20020a170907a05c00b0072b347b4f59mr182587ejc.764.1658491061239; Fri, 22 Jul 2022 04:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658491061; cv=none; d=google.com; s=arc-20160816; b=amVAaVnQiE+qb/YlLcbC3G502YzsKlzni+dmFn06JayhzLPLMeAQJn5B4Bj0529CzG TnUPAClMacU7oYylKeAUYcmF/1PknJDoI6DBhTeykaJqLpJAOAqBrZAobhLOhX8oVtW3 MhSnn1UrA2ebbrI0Jbrv32Hu8Su3JWtZg1MCPibuWD0h0Mo+cGHVHxruXqmqTkVyxWdz 1DHsZiiMhwiBuOoeY6z44sBjSQzIBdjCNlNET9Bw8jHZLXoULv02wT+rLRDk/V4lBwkz GDLuku9eqqI0mCr2ZXFILeKDViWddH71ER2H9Uo7ElPlvnF/2KqwGbqHlzUhxHSggZNY DDfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DaSiO2VrSxn5dx8LEYgeq0ewiMxUiFzJ+ygINv6L9OM=; b=ioXY5Wp9ZBERfuKFuVX3Cd0REEm1uuZt9d0FuDGpQZCBCltBC+yBd25tZ1VSGx7HU7 6/tCxeK7kRXv1zlg+J895qSNZyEwyNViREnwjqn69Ymk+G55OLHlZdnkDTpv+r62eO6j ZttTW4n0X4ue06fyMtTuyOI/lW2Z/xz3ryGEZpNs7f4PED9BKYR433bRe70rgAj6lx0c l73Cx3yywOwnK6KgFo/NiaNyR8Rmcv2CnBidxP+1yYGR3PoaNI+yWH+ipmsLxmLHBatx 9Sz1fAyLeafUZfpxlx/EJdm84jLYYW9aT6Cd8zmNvRyVSH6r8iCYdHlaApjy5nQXP1zs ZfMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=c5vb4i77; 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 h19-20020a05640250d300b0043bc602807csi5962846edb.490.2022.07.22.04.57.07; Fri, 22 Jul 2022 04:57:41 -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=c5vb4i77; 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 S233210AbiGVLw1 (ORCPT + 99 others); Fri, 22 Jul 2022 07:52:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbiGVLw1 (ORCPT ); Fri, 22 Jul 2022 07:52:27 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25256BA4FC; Fri, 22 Jul 2022 04:52:25 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-118-63.bstnma.fios.verizon.net [173.48.118.63]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 26MBpvxx025939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Jul 2022 07:51:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1658490719; bh=DaSiO2VrSxn5dx8LEYgeq0ewiMxUiFzJ+ygINv6L9OM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=c5vb4i77Su5dD09fsEmttsiqtAdFdHChNqHPeFf7HviNL1+h/4iQDXtA6BX13nDXR gdVqClKO9dCKEwQcWmD7HTiTA6QX7F1syzjyHk+AJAH7jr3XHCqgqHk4CkZGb3TR1H zz3KPFC6GxNVqSCSjApUQfxraW+F9ftVbkUtZUt7sA/6iFoW+skdwX7O4Lk4aM161f Tr9qXtE2p5dKOoq+HX5XJJqrHT8U17f/i9Ro2ZJPOKM2DjEWH7k/VvbEMIQmOl4S0e +RLZFLh8mMzATb2+Rz6NRQR7CJQEOLZ9+nOo2NicqZ6/cLOgmPhZDkqsrkj9ulsSnY GPT5uTEz2nHJA== Received: by cwcc.thunk.org (Postfix, from userid 15806) id A880315C3EF7; Fri, 22 Jul 2022 07:51:57 -0400 (EDT) Date: Fri, 22 Jul 2022 07:51:57 -0400 From: "Theodore Ts'o" To: Sun Ke Cc: Zorro Lang , fstests@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [PATCH v3 1/2] ext4: resize fs after resize_inode without e2fsck Message-ID: References: <20220713092859.3881376-1-sunke32@huawei.com> <20220713092859.3881376-2-sunke32@huawei.com> <20220714154607.qq6cqgvncxhsn66w@zlang-mailbox> <20220715180815.gegmapvruor6vin3@zlang-mailbox> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Fri, Jul 22, 2022 at 04:16:26PM +0800, Sun Ke wrote: > > 1. The test run fsck automatically, and complain inconsistent,I think it > need not run fsck. The check script always run fscks after the test. In order to suppress the fsck complaint, we'll need to add this after the resize2fs invocation: _scratch_unmount $DEBUGFS_PROG -w -R "set_super_value s_reserved_gdt_blocks 0" $SCRATCH_DEV \ >>$seqres.full 2>&1 This resets the s_reserved_gdt_blocks field back to zero, so the fsck doesn't fail. Which is fine, because the point of the test is to see whether the kernel dereferences a NULL pointer or not. > 2. It warn missing kernel fix, but the commit had merged. The way _fixed_by_kernel_commit works is if the test fails (for any reason), it prints that you MAY be missing the bugfix commit: > HINT: You _MAY_ be missing kernel fix: > b55c3cd102a6 ext4: add reserved GDT blocks check - Ted