Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp354719rwb; Wed, 7 Dec 2022 19:24:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf5oiPEEEWOfJlXMN8bpp425YImOe28ZrWgydAzk+a/LJE6/LZHIOfP/OuBTikiTcwkQjjBs X-Received: by 2002:a17:907:cb83:b0:78e:2336:d880 with SMTP id un3-20020a170907cb8300b0078e2336d880mr1668765ejc.5.1670469891016; Wed, 07 Dec 2022 19:24:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670469890; cv=none; d=google.com; s=arc-20160816; b=fOYVzq+EN0Sufeqm0QCtd1PrjnjDZiN1Inr+hAO9ZlNhAuhXi82zllP64D34C4Rjfx Ihn0HIAclQMpeK8ETxRB+kQ7qlPpY2FZ5cLvd3B+yAdA+rm0fxMIWl8cB3/OcalBU+A4 dPhnfAPnr4dfQmg5CRpaK7AZ5sJay5Taz+MLvqvFMMPrMDKMzYRr/QPeOeJqxy1e2Dlt 72YNAU2RukJ8XnxQU+9hnXOA8/LjuDKC9pJxRMW+sO+soKwjp+gp/5X0/DDJw7QDNYoy mJyeCrhK8QJUSWJXZgAPxp0dqwkDw8OftT15cTw2GYFXLWH6FJiLyE8Clhbp/FjZmoS/ +xZg== 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=Q2Ez6b7WIbHtznTD058pk2zEC8RPRmxSz50BZrly/lE=; b=Sw/y92vfr3GUpe9jTtjQPXC2crV3R8MWdyJX/nliA4k7rbzidgA2VaoNYCLRmUCbfP PWPQMIBiFiPiGzfUF14ID6Xyvfd6/HAQLyzDh7k/l2dxIlFGvXsTP/rT+bIaOKhe1TaO Wbk5JfYH+dt8914qvIytgGoMTGljLIblT+ml250rRCqHtQyk3aHFs5pv4sUl1f5kfxch ujcgtraM7fYZ+iQskgq1MENkoCwzMd/tIWdMHyg5R+fgZoR237EcxFLLA1he3AcTVevP NgJhvhtm27TplKki3v3RmjzQQrfYpG3bE86APlKNwVdAniC1/t2hm7J4e0oRQVWdSRNl fFuA== 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 qb27-20020a1709077e9b00b007809c50fd78si18871395ejc.262.2022.12.07.19.23.53; Wed, 07 Dec 2022 19:24:50 -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 S229575AbiLHDNj (ORCPT + 99 others); Wed, 7 Dec 2022 22:13:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiLHDNi (ORCPT ); Wed, 7 Dec 2022 22:13:38 -0500 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB6436F0D2; Wed, 7 Dec 2022 19:13:36 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4NSK3t6SLqz4f3pFZ; Thu, 8 Dec 2022 11:13:30 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP1 (Coremail) with SMTP id cCh0CgAn0a9cVpFjvYz4Bg--.16330S4; Thu, 08 Dec 2022 11:13:33 +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 v4 0/3] Fix two issues about bigalloc feature Date: Thu, 8 Dec 2022 11:34:23 +0800 Message-Id: <20221208033426.1832460-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: cCh0CgAn0a9cVpFjvYz4Bg--.16330S4 X-Coremail-Antispam: 1UD129KBjvdXoWrZFy7tr47KrWDCw1xGrW7Jwb_yoW3WwcEvr 18A348Xr97W3yI9anxKr4kAFyYkw4kur13uws2vFn8ZryjvrW8JwsFyryfZrZ8WFW0ya4F yr1DJrZakwsF9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUboxYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267 AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80 ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4 AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY 6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17 CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF 0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_WFyUJVCq3w CI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnI WIevJa73UjIFyTuYvjxUrR6zUUUUU 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 v4 Vs v3: 1. Fix checkpatch warning. 2. Fix alignment issues about patch [2-3] 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