[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231213013224.2100050-1-chengzhihao1@huawei.com>
Date: Wed, 13 Dec 2023 09:32:19 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: <tytso@....edu>, <jack@...e.com>
CC: <linux-ext4@...r.kernel.org>, <yi.zhang@...wei.com>
Subject: [PATCH v2 0/5] jbd2: Add errseq to detect writeback
According to discussions in [1], this patchset adds errseq in journal to
enable JDB2 detecting meatadata writeback error of fs dev. Then, orginal
checking mechanism could be removed.
[1] https://lore.kernel.org/all/20230908124317.2955345-1-chengzhihao1@huawei.com/T/
v1->v2:
Fix some misspelling words.
Patch 1: "fallen on" -> "written to"
Patch 4: "can detects" -> "can detect"
Zhihao Cheng (5):
jbd2: Add errseq to detect client fs's bdev writeback error
jbd2: Replace journal state flag by checking errseq
jbd2: Remove unused 'JBD2_CHECKPOINT_IO_ERROR' and 'j_atomic_flags'
jbd2: Abort journal when detecting metadata writeback error of fs dev
ext4: Move ext4_check_bdev_write_error() into nojournal mode
fs/ext4/ext4_jbd2.c | 5 ++---
fs/jbd2/checkpoint.c | 11 -----------
fs/jbd2/journal.c | 11 ++++++-----
fs/jbd2/recovery.c | 7 +------
fs/jbd2/transaction.c | 14 ++++++++++++++
include/linux/jbd2.h | 37 ++++++++++++++++++++++++++-----------
6 files changed, 49 insertions(+), 36 deletions(-)
--
2.39.2
Powered by blists - more mailing lists