Message ID | 20221203025941.2661302-1-yebin@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1177539wrr; Fri, 2 Dec 2022 18:41:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Fl3hxoO6F9RhOPE+o8/eooJafQq+toQnnEvNovTWHNftVDAv/FJjmDE7Ra50ANSjVg2B3 X-Received: by 2002:a17:903:2c2:b0:182:631a:ef28 with SMTP id s2-20020a17090302c200b00182631aef28mr53821063plk.46.1670035309162; Fri, 02 Dec 2022 18:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670035309; cv=none; d=google.com; s=arc-20160816; b=0yrHe4cSe9zvkdkp2TXKxsW3A3+BXmjTBbOlCutPIMZjZVTI/Hh1GYji/C3ND0VyRx J5i5dHAU68sAM5KWPlRcogbb0w4W6gk+Eya3NZPgXtg7Q9HMWgw2Cc2Nv0FKqW5z4mK2 +IRR3z/LyoQSxq1ehV0vVr4vzEC4WIlb0beTizAgN+BB0TrtMt9V5p7vYYiKvLJQPB/Q 854h21S5Wp/o+HVS+FxBenfaoHgCxNHIiTsOvo+o5YvnG6r39MYlCtnwSxmdbN8s1y1T UvuZS08KuGB4OiqijozrGg8Wx0baqmXhWqys22dI+EMchqKqSqfdnNyo4tboNVQqfL2t Dlpw== 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 :message-id:date:subject:cc:to:from; bh=ZCPBUg8i5iK1LrT8gjSJ7v6I5RXr6StGrkidcW9Wa1Q=; b=t+FBWJq6V0G/EIsB4JbyskllAIlwBTu2MeHHocJRHOj+0qR3f/L3sE785soaquapx7 /vWY3Gs2Qe3wiVgZ07d86PC1+s0khDO9c9NAlaKeT3XRJAvPnWFbCco+dHdDMi5oKs2N UCZsMFkOkqcAGGx6OibT11Go9RoMjjYQwyWkR9lbSAPA7ew0YWZ+1BatcR+UOoxeEMHA vcoLOg6DI4nuQ0VV/ZJvF3Dom2NJ9K3xT1vlk/ZTTvW3XmqWXiVaOXaq1emdzc8GYDMZ H0GxndltXQA2KSo5yncYaqTU6vWod4l5wWKripUUFRqKtLeppNT3hjpSmJ3vh/YBIyvf S50A== ARC-Authentication-Results: i=1; mx.google.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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a056a0024ca00b0056c125186aasi9639996pfv.4.2022.12.02.18.41.36; Fri, 02 Dec 2022 18:41:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235204AbiLCCis (ORCPT <rfc822;lhua1029@gmail.com> + 99 others); Fri, 2 Dec 2022 21:38:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235070AbiLCCip (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 2 Dec 2022 21:38:45 -0500 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DAACEC098; Fri, 2 Dec 2022 18:38:43 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4NPDWy102gz4f3jZd; Sat, 3 Dec 2022 10:38:38 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgDXSNavtopjXug+Bg--.58501S4; Sat, 03 Dec 2022 10:38:41 +0800 (CST) From: Ye Bin <yebin@huaweicloud.com> To: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jack@suse.cz, Ye Bin <yebin10@huawei.com> Subject: [PATCH v3 0/3] Fix two issues about bigalloc feature Date: Sat, 3 Dec 2022 10:59:38 +0800 Message-Id: <20221203025941.2661302-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgDXSNavtopjXug+Bg--.58501S4 X-Coremail-Antispam: 1UD129KBjvdXoWrZFyfAw43Xry5ur1rtF4kXrb_yoWxurbEvr 48A34xXrZ7X3yI9anxKr4kAFyaka1DCr15uwsYvFy5AryYqrW8Gws7AryfZrW5WFWrta4F yr1DJrZakwnrujkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbokYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I 0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40E x7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x 0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Y z7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zV AF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4l IxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWrZr1j6s 0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsG vfC2KfnxnUUI43ZEXa7IU1zuWJUUUUU== X-CM-SenderInfo: p1hex046kxt4xhlfz01xgou0bp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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 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?1751158944739198836?= X-GMAIL-MSGID: =?utf-8?q?1751158944739198836?= |
Series | Fix two issues about bigalloc feature | |
Message
Ye Bin
Dec. 3, 2022, 2:59 a.m. UTC
From: Ye Bin <yebin10@huawei.com>
Diff v3 Vs v2:
1. Add fixes tag and rename label 'out' for first patch.
2. Do not split string across lines for second patch.
3. Just check pending tree if empty, drop clear code for third patch.
Diff V2 vs V1:
Use ext4_error() when detect 'i_reserved_data_blocks' and pending tree abnormal.
Ye Bin (3):
ext4: fix incorrect calculate 'reserved' in '__es_remove_extent' when
enable bigalloc feature
ext4: record error when detect abnormal 'i_reserved_data_blocks'
ext4: add check pending tree when evict inode
fs/ext4/extents_status.c | 3 ++-
fs/ext4/super.c | 13 +++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)