From patchwork Thu Nov 17 01:42:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ye Bin X-Patchwork-Id: 1796 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp157501wrr; Wed, 16 Nov 2022 17:29:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf6++FsFneasQax7EUUow6FhKLHRGoULf0iTHAHzOKI0+/hGhsliwoU2hH4FbgAu976ur+gX X-Received: by 2002:a05:6a00:26c4:b0:561:c295:7568 with SMTP id p4-20020a056a0026c400b00561c2957568mr726262pfw.35.1668648558297; Wed, 16 Nov 2022 17:29:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668648558; cv=none; d=google.com; s=arc-20160816; b=TcobtPI0mX+fOmB27sgNb5NLon7AIiIY0nwn9t9r/U3sZvvwJidclRow/ylppDrJIl 0Wiu9z4CPljplBMPzRBea0T0ZJ3TiY6Ofm+72xlHd8L4YovojqMpSvNbBSV8cwUNPeVS PE8CjDcHT3jElXzi38j/aHuJmYVvqr/DGV6sMJ0I1E1lBBddLpNmyo8zC7U7H1PjYe9x tE+ris7fQMPJ7MQPbHp4gYsqzDx80GMyQ2kZP2vOTmmem36YxXLife9Tjp8ccHpmhS7b zE3Mlyuu23JOhVXKE3PkYu8ufuDoyngbVGL3OMB/9SMuo7Pcz0iiNIRGdtVz5RoBPaD6 8ujw== 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=Xe4Bwl6C8PJQMnxPyHAqwTfsRLH0LR133xzyJkb7hmM=; b=nYY7aMmz8BHrYDegn5p4cINbyUQ57ekKZagal158I7mmJYwjmbcCBym4ubCRbhPdZK fknooYRNTxFokcfyBb6AgISyY4R9uohp8MZ2syfUMHs+PsYhdxIaQsvAkYQGidv9JfTJ AO7OlXr/dxwadXMpo/i4iw3wroPKF4AfFReHaXiKaFdvAlgLkbdGVPgFETmVxiG0r3pD Vb2Od6/6XAQKm2ZDHVbk6maTACsOzt6l22FDJo50RT1fGKIfb8pplhvONwdSzXikQwMt Kz9OmmS2x8eZHzYyw7LlcyWYLkDhH3fbr6lBJJ1s3u9+KT/8WbmSm53RsFfzE6zZbf// 6mKA== 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 206-20020a6301d7000000b004768f1cd12esi8873675pgb.782.2022.11.16.17.29.03; Wed, 16 Nov 2022 17:29:18 -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 S239078AbiKQBVh (ORCPT + 99 others); Wed, 16 Nov 2022 20:21:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbiKQBV3 (ORCPT ); Wed, 16 Nov 2022 20:21:29 -0500 Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 013D11BE96; Wed, 16 Nov 2022 17:21:28 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4NCMZ950vyz4f3mSB; Thu, 17 Nov 2022 09:21:21 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgAnmdaSjHVj0gCfAg--.26536S4; Thu, 17 Nov 2022 09:21:24 +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 0/3] Fix two issues about bigalloc feature Date: Thu, 17 Nov 2022 09:42:43 +0800 Message-Id: <20221117014246.610202-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: gCh0CgAnmdaSjHVj0gCfAg--.26536S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUU5N7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_JFC_Wr1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aV CY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAq x4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6x CaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCF 04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r 18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vI r41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr 1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAI cVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjfUoOJ5UUUUU 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_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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749704830453559476?= X-GMAIL-MSGID: =?utf-8?q?1749704830453559476?= Ye Bin (3): ext4: fix incorrect calculate 'reserved' in '__es_remove_extent' when enable bigalloc feature ext4: WANR_ON when detect abnormal 'i_reserved_data_blocks' ext4: add check pending tree when evict inode fs/ext4/extents_status.c | 33 ++++++++++++++++++++++++++++++++- fs/ext4/extents_status.h | 1 + fs/ext4/super.c | 16 +++++++++++----- 3 files changed, 44 insertions(+), 6 deletions(-)