Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4111542rwb; Mon, 21 Nov 2022 04:00:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ULU8jpu7cfdA2qnp9+w9hCQfzyRCB+hvW9xAtDa63QOmRd2AU11ZRfifVrJJrNBnCX5An X-Received: by 2002:a17:90b:3c42:b0:218:8186:ef9b with SMTP id pm2-20020a17090b3c4200b002188186ef9bmr17069496pjb.10.1669032038582; Mon, 21 Nov 2022 04:00:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669032038; cv=none; d=google.com; s=arc-20160816; b=c2C0fjs1iFPpFo/yojEjq8dvuaDSJrfwuzxyHqK9GZWM/I27GKo0ZGgW7XEeeTjevi c594jmUcpDYAVbBp2Yn2XNPa6rdlcNcOVJK9zfbU2PC2plwUJl656T3081sIsNdRhSjs 7kUSY9zjA5/Y/3MBDwaaISB84gz+uISOOR9DSfLdJxQ1R5dn29NRz4CAkIdcanlmK6V8 poDRVXp63+vVgj3k2OasolDytVjGx0oB55E9HKfxvjXkmUbU98rLYSuTLqqFY0u8gIcr QmGu3fymT7beMP9HumQPhKJcfHBtit75vdEcnXq1Ua/BBW3GL1TsFTg2AtOweodMjtxZ vZlQ== 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=sKMMr/MyMAq1BaWuaEb9DsK9XXrKIkef4xQxhYB6L2c=; b=nOfYrnefy7+IgzZXffPC4/uqzPp/C8jHEAUGbyl17MzlzLMUVzqNX/mO2hAmGG3Ic4 xn/N//aKih0DmBFni9UHFIliIi04hBIcDbczYZE3vXMudH4WaLuDJ2dj3lyPtsPegJse fTsBhdvJrw60UCOjNhOvyWmBMKK7UtUzSAoxD36J5fMJId37zNDSfcRxGsixZU7WAaJ3 cP7nz3IqcRk3ZBg2Wh312e1WEGh/2rKLl8oe6PG3TkuJDaOv9J6uNgrAXzh6oT+DjK7P CcQCvw3EhV1xKtOPp5Di/HUY60qdPwGPU8UNBa8SN0UXkJVg5Lz88GW3j2EhSs8iiddr Ouxg== 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 g5-20020a170902e38500b00186b6a32284si9986235ple.548.2022.11.21.04.00.18; Mon, 21 Nov 2022 04:00:38 -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 S229688AbiKULx0 (ORCPT + 99 others); Mon, 21 Nov 2022 06:53:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbiKULxX (ORCPT ); Mon, 21 Nov 2022 06:53:23 -0500 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 906C013F56; Mon, 21 Nov 2022 03:53:22 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4NG5PS0XXtz4f3jJG; Mon, 21 Nov 2022 19:53:16 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgDHONatZntj0uehAw--.51112S4; Mon, 21 Nov 2022 19:53:19 +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 v2 0/3] Fix two issues about bigalloc feature Date: Mon, 21 Nov 2022 20:14:31 +0800 Message-Id: <20221121121434.1061725-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgDHONatZntj0uehAw--.51112S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUU5J7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4 x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG 64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r 1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxG rwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4 vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IY x2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26c xKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280aVCY1x02 67AKxVW8Jr0_Cr1UYxBIdaVFxhVjvjDU0xZFpf9x07UWE__UUUUU= 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 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 | 31 ++++++++++++++++++++++++++++++- fs/ext4/extents_status.h | 1 + fs/ext4/super.c | 10 ++++++---- 3 files changed, 37 insertions(+), 5 deletions(-) -- 2.31.1