Message ID | 20221121121434.1061725-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 q4csp1538982wrr; Mon, 21 Nov 2022 04:00:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf58eI7QDq9871qOHvzERdzq4hINoQRzmpeZkCzKNCKbIlcSMnobGzXfBmxvZSNb+E2ZgLmo X-Received: by 2002:a17:902:f78a:b0:186:5bbc:2ad9 with SMTP id q10-20020a170902f78a00b001865bbc2ad9mr11206495pln.157.1669032035829; Mon, 21 Nov 2022 04:00:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669032035; cv=none; d=google.com; s=arc-20160816; b=cSAFeG4+yoJj+9Ll8fgN1RqPgVCaqfSpLrg4iav/xgo1pfoqb/mjrBk6xqsXxE5j8l Y+lepBDHPn+nr9Pa3+buImxTPUFMmxdVLJLmmQhkrqGa7DNeyAcdIDe0Xo/adZ44I+FA 3DoeaAwC+5x9Yj5P7BUTJ6uCBkxPDpK8omcp6p36acmnx4kK7wHCbpjaTxcsPN2TXHGC lmyumcz9fAV7GV26nn3kIze+duJk1h6IIARQ8AJrs0y53hbwU9KxOTeZdTTctCmn27uX NnQt59wBalB0GA2uiR+lcJhYJNEkUXAICL21b5PXFXbFvCPcllkf4pk3mU88+La6fhd6 ukcA== 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=dFy806qy+wA+qXZ9051z1vdITxJx5tZuhRjlovstVq9xkFomiA2EJs/CBow/ymVLt1 pA6DSK2vIJfIv7VJ3Tw1Yv3/egJTl0tE3dVfvLpnq1BOI9xsBR8YbYVGyZP9/MghAOsf uv6rCQPx6btjySkuYLN2plD12qxzgJnbxy3ongWwfFirVnDIcFXfQkAUjM7lLUn+pXu0 OLj4FkboPGdh2vwvP6r+rH2IxWMcKLxpaQzN81XLTqFx4WK2LpP8G7TNYdoWFzmIPd6B xmgkRi28ijadTnd82qAN2NdP97COY6csbOjNvxsgP854H1suLQdfzR4Skx8eFPUieBGE yqyQ== 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 d4-20020a056a00244400b00572dc2ed1f7si10532316pfj.191.2022.11.21.04.00.19; Mon, 21 Nov 2022 04:00:35 -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 S230439AbiKULxa (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Mon, 21 Nov 2022 06:53:30 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <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 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: <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?1750106935700029598?= X-GMAIL-MSGID: =?utf-8?q?1750106935700029598?= |
Series | Fix two issues about bigalloc feature | |
Message
Ye Bin
Nov. 21, 2022, 12:14 p.m. UTC
From: Ye Bin <yebin10@huawei.com>
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(-)