Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2954776rwb; Fri, 2 Dec 2022 18:40:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Af4Rvl3xeT03J6vfXO3i0d+CZLzUvvXWam/9CbWcHD7yBNVeo9dC6kXyZMGHMrsMmHnqf X-Received: by 2002:a17:903:2351:b0:189:6574:a4b7 with SMTP id c17-20020a170903235100b001896574a4b7mr41251289plh.107.1670035241758; Fri, 02 Dec 2022 18:40:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670035241; cv=none; d=google.com; s=arc-20160816; b=efFgD/FgYuxz6RyxnLMgn3+etPWkRBie0d8vrWyh93VPD8ryPlwT6pPLFzv0ePbxAK 5NIorGcxhL3F9fSSoxYrLl1H/it36e4PoIpx0eWIlSVKXak+lXs9JuNtrOR+wuIcwEdT XJj2YJwSxWVH0kqMg1cbw2f7PI2P3iwy5y5mNU9+kBgT6jAIauqTPRrJFpUCm/RfsGFw eMlOVD72QnIGPbAD6QFcI/Z7bQRhVIEo5fCilgNlrPGdajyWbTser63+2h0mFwrnXLqe dyymDVUV8vpQrQbBdxynwon5S6HUiKk5G9iJ96BGLEsp6e9ZwCojh/RkN0T4M9TlrJ2T 2kSQ== 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=GC0ORS6q9GpwMh58SFwCh9xNxTxQoxnFzzMdKGwCHKpRtg8rhpNxT5A43UkYLjAiUM ba0osOpcjtm43FerE1ueDsT4IElk/rMHYN3VPlbadf10CW9i/3W1bUL5x8ozVArE217V 4MWi0IdeAd8WFoAoLGsIJKioIGvgXHaNJ7wwVgBHLd87Y4pi32QhkoSqhLZLQGcqrbnU TXY0YDb+5KkOEiFX7vdw7jZ0952d0yZRep7QKdx+xqcS3dPb5S8tCU/9Cl5GkZw2gCCG GZILvt00OVvXcV8l1jLCx+Ec0IYd2sZ8rMSGKyrt5u9WaWb0XU6j6g9dGWqnY/50+NUD Wdtw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x69-20020a638648000000b004769692fee2si8722197pgd.385.2022.12.02.18.40.29; Fri, 02 Dec 2022 18:40:41 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235201AbiLCCiq (ORCPT + 99 others); Fri, 2 Dec 2022 21:38:46 -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 ); 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 To: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jack@suse.cz, Ye Bin 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: X-Mailing-List: linux-ext4@vger.kernel.org From: Ye Bin 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(-) -- 2.31.1