Message ID | 20240918113604.660640-2-yebin@huaweicloud.com |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=jei2=QQ=vger.kernel.org=linux-ext4+bounces-4205-patchwork-incoming=ozlabs.org@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=150.107.74.76; helo=mail.ozlabs.org; envelope-from=srs0=jei2=qq=vger.kernel.org=linux-ext4+bounces-4205-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X7xF95vprz1y2l for <incoming@patchwork.ozlabs.org>; Wed, 18 Sep 2024 21:26:53 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4X7xF92W18z4xbv for <incoming@patchwork.ozlabs.org>; Wed, 18 Sep 2024 21:26:53 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4X7xF92QTqz4xbw; Wed, 18 Sep 2024 21:26:53 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2604:1380:45e3:2400::1" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1726658813; cv=pass; b=YqNshTSwMdHtUKyclMScBO3SivYEqyEy5d+/sVT7eqOCcWvCwpIx3EXSlE7o8XU69BBvqDDqEcFTZrdPl+C6HnVueD4fxdtGD0GbVbb4tdV2nYtmAKu9ZczkvpRJNzlkz9cf2FztUJV0/5qmQyffvC/9NH5SVY5Q/wgCwiK0b6zzWKF3dMZR8pbLe1DPjvW/qjsNOCmiEapr/0dV+GuxmXA8Z1P13s4lXXI/hQnl66yv18PGuKmlB9S19bOmF4PvWHQtBAUSnjcLwIq4a6/U1f/m4EHv9txVIlGA0DnZrpsdOdsumvuhqVqOGQ7qu+UdM0Wd84ymwiVlr6hNjhA8JQ== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1726658813; c=relaxed/relaxed; bh=PMNzXJ13MTJd190O1wodNw5Mtqg6UkvlzCbrX5v/DT8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HDVVDp5Sfhv1zkh4DNis89jDR1+9VXzyn4W77JILCFkWyIosGHI6Bblyle04ABx78MoLptB+SfnVXpZjS5+XlpR351ejfUgalZbfY7yzkbmGLfBdcDciEjZI8BJOMgjWacpoxBedGK8MHdYzX/pL67+nB8JZymeKjOrwUbgR+pzHlokFfjfMYtu+GBbIWXf7t7TLvCwDrGL+OdaDBgZG5hKRwYz6+j3vAtz3Qxmz9hDW0sM77/DrcBWUKkmVPzJ6jFGW62W2IlzzPQ8hmDW5cC/M5UQFKie7dCHOaqV//GIU4BAo27jUW3OEbCUx1Ojq2jkPelHK53ydZ0s629lyZg== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=linux-ext4+bounces-4205-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=linux-ext4+bounces-4205-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4X7xF907nPz4xbv for <patchwork-incoming@ozlabs.org>; Wed, 18 Sep 2024 21:26:53 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D42BE288685 for <patchwork-incoming@ozlabs.org>; Wed, 18 Sep 2024 11:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B63A18858E; Wed, 18 Sep 2024 11:26:44 +0000 (UTC) X-Original-To: linux-ext4@vger.kernel.org Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E1DB175D4C for <linux-ext4@vger.kernel.org>; Wed, 18 Sep 2024 11:26:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726658804; cv=none; b=VVLqX0v1SO/7RNQMWqgNmp47cam8n6N2tsFuif3K3WrOBfbQJvMmh465gQLRXeLJSMJZ6RUbY+Qi9Tu2yMZWQQzUDFp1IrsC9wSvbJ3T6VVPgUKd+WyF6TWLPF3PYG8qlWLKY4/V3ZhnprQfjjYBpbEzy840rw0OKDYAays+hsE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726658804; c=relaxed/simple; bh=YtwPVE+l3Cf1+TcdBlZASDxTQn3uFS/nBp8vI4qU9PA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jmlWjhm5bhcpPLC3ZTxbBdBd12Jo4BqoZ1QCMBExLSejU3QXHyQKKSwSljjtadeAAsi2EfYUo4+HHkBTt7SehVMdUMGP/RVsSNuIAbNXiaYGeBBDy5+HYmg8D4Z9RWd5rSF3SU7CLFJdXqs/Gam2ZPcz0sPkuiNpPkheYB7yEyc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4X7xDg45j9z4f3jZQ for <linux-ext4@vger.kernel.org>; Wed, 18 Sep 2024 19:26:27 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.128]) by mail.maildlp.com (Postfix) with ESMTP id 7D7951A018D for <linux-ext4@vger.kernel.org>; Wed, 18 Sep 2024 19:26:38 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgD3LMnsuOpmuiKqBg--.12650S5; Wed, 18 Sep 2024 19:26:38 +0800 (CST) From: Ye Bin <yebin@huaweicloud.com> To: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Cc: jack@suse.cz, zhangxiaoxu5@huawei.com Subject: [PATCH 1/5] jbd2: remove redundant judgments for check v1 checksum Date: Wed, 18 Sep 2024 19:36:00 +0800 Message-Id: <20240918113604.660640-2-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20240918113604.660640-1-yebin@huaweicloud.com> References: <20240918113604.660640-1-yebin@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: <linux-ext4.vger.kernel.org> List-Subscribe: <mailto:linux-ext4+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-ext4+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgD3LMnsuOpmuiKqBg--.12650S5 X-Coremail-Antispam: 1UD129KBjvdXoWrtF1UKryfJFyrWFy8CFy8Zrb_yoW3JwbEgw 40krZYvw1xXFnFya45Jw15WF1a9rsxur1fCwn2y34a9a4UXF1kXrWDX34DXryDu39I9FWr CrZrWFWxtFZ3tjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbqxYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l82xGYIkIc2x26280x7IE14v26r18M2 8IrcIa0xkI8VCY1x0267AKxVWUXVWUCwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK 021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r 4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx 0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWU JVW8JwACjcxG0xvY0x0EwIxGrwCY1x0262kKe7AKxVWUAVWUtwCF04k20xvY0x0EwIxGrw CF54CYxVCY1x0262kKe7AKxVWUAVWUtwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02 F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw 1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7Cj xVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r 1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU1m0 PDUUUUU== X-CM-SenderInfo: p1hex046kxt4xhlfz01xgou0bp/ |
Series |
some cleanup and refactor for jbd2 journal recover
|
expand
|
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c index 667f67342c52..5efbca6a98c4 100644 --- a/fs/jbd2/recovery.c +++ b/fs/jbd2/recovery.c @@ -619,7 +619,6 @@ static int do_one_pass(journal_t *journal, if (pass != PASS_REPLAY) { if (pass == PASS_SCAN && jbd2_has_feature_checksum(journal) && - !need_check_commit_time && !info->end_transaction) { if (calc_chksums(journal, bh, &next_log_block,