Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1924625rwp; Thu, 13 Jul 2023 20:11:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlFoRrcPrxvFyblINGU+B8tzGd1u3NMi07cA9LGG5veT4fAzvD/tgvFjWuFBuRQTMtyAQjDh X-Received: by 2002:a05:6870:3411:b0:1b7:609f:e0d4 with SMTP id g17-20020a056870341100b001b7609fe0d4mr5268244oah.15.1689304267848; Thu, 13 Jul 2023 20:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689304267; cv=none; d=google.com; s=arc-20160816; b=Josiv+/As4Olilns1n8qLk1pz8lRouPIWI3alQg9nIQjUCJeFCsKQ7cWqh9YooxDRv f8uSdEHlQxD02oXRH8fJJBc02vFT7DXte5d4rCWkDw9snSddPDybpRJIi2RS6k3fgED1 jvf9grx6eD5IPQ7Pbszqon+YHJc/3S49LBJ8SLr9inm1W81DjYcfVwrGWxzTQDA590sX 75tbsk55mb3ti2JKC1Yj/q3ZUX5/xQAl/SRm3dS0gH+4i52k9N8Bv+U2+kSH3lI6G2Ej r5fbkNitmHWvBfH8Yri1xjY6n0+PorjfMxi/CJXi8a0GVEu1SzNsrq475XWUXLiZacFj 0n6g== 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=CeCprW/YpImPvleAL6Posl2+127SQkdwpARA+G39jQ4=; fh=tyLvqhW9JiuF1OvQJ09KCWaDJZ0yUCWM9jILgDa+HrI=; b=f4/H6BPhJUqIw70blkUfvs8hmuG8IqbY+RD/vdb+Kt1ohk7Yldix6b7O7zCK3YW7a9 p/FRZsXxdEf1pTva4Gof5MKNpPAuYPCOBFIKsGuUVNUhw+XEyOZjYI0iBTEzNxXt4WWV n2HgExEN8JGE5Lmmk5Gf5RUEUnS6melmrqyVgbCS4OWL5sU0MLgwPLXZYM8qPprF5Wba BwPa+TBafLdYL/o5sI3UdWtYqKwZsnXdbCRa5P1xGdTPsm0uRzD906R9Rt/MER0k+FFH zJgrttLV60+PuLmgRPQAJNsEekvsb5p4SOo5NpF9ndN6vV6Y5/YUjiNWhmzFANdlepfD pH1Q== 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 s22-20020a656456000000b0053fc290934dsi5935260pgv.361.2023.07.13.20.10.54; Thu, 13 Jul 2023 20:11:07 -0700 (PDT) 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 S234578AbjGNC5b (ORCPT + 99 others); Thu, 13 Jul 2023 22:57:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234558AbjGNC5a (ORCPT ); Thu, 13 Jul 2023 22:57:30 -0400 Received: from dggsgout12.his.huawei.com (unknown [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C378198A for ; Thu, 13 Jul 2023 19:57:29 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4R2GNg5k1Gz4f3khL for ; Fri, 14 Jul 2023 10:57:23 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP4 (Coremail) with SMTP id gCh0CgBnHbGJubBkNcexNw--.62721S4; Fri, 14 Jul 2023 10:57:24 +0800 (CST) From: Zhang Yi To: linux-ext4@vger.kernel.org Cc: tytso@mit.edu, adilger.kernel@dilger.ca, jack@suse.cz, yi.zhang@huawei.com, yi.zhang@huaweicloud.com, chengzhihao1@huawei.com, yang.lee@linux.alibaba.com, yukuai3@huawei.com Subject: [PATCH 0/3] jbd2: some fixes and cleanup about "jbd2: fix several checkpoint inconsistent issues" Date: Fri, 14 Jul 2023 10:55:25 +0800 Message-Id: <20230714025528.564988-1-yi.zhang@huaweicloud.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgBnHbGJubBkNcexNw--.62721S4 X-Coremail-Antispam: 1UD129KBjvdXoW7Xr48XFWfKw47KrWUWFy5twb_yoWDCrX_ua 4jvFZ5Gwn2yFy8Ca9Ikr13JrWDG3yxXF1Y9F18Aa17Wry3AF1fXFWrAFZaqr18XFWvkFyD Jr1rJan3trnrZjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbz8FF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_tr0E3s1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV Cq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCF04k20xvY0x0EwIxG rwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4 vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IY x2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26c xKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x02 67AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjfUoOJ5UUUUU X-CM-SenderInfo: d1lo6xhdqjqx5xdzvxpfor3voofrz/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,MAY_BE_FORGED, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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: Zhang Yi These patch set includes 2 fixes and 1 cleanup about "jbd2: fix several checkpoint inconsistent issues" patch set[1] recently applied in dev branch. The first patch fix a performance regression introduced while merging journal_shrink_one_cp_list(). The second one add a missing check before dropping checkpoint buffer that could lead to filesystem inconsistent. The last patch which is from Yang Li, remove the unused __cp_buffer_busy() helper. Please see the corresponding patch for details. [1] https://lore.kernel.org/linux-ext4/168918657577.3681557.17979362698032386800.b4-ty@mit.edu/T/#t Thanks, Yi. Yang Li (1): jbd2: remove unused function '__cp_buffer_busy' Zhang Yi (1): jbd2: fix checkpoint cleanup performance regression Zhihao Cheng (1): jbd2: Check 'jh->b_transaction' before remove it from checkpoint fs/jbd2/checkpoint.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) -- 2.39.2