[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230119034600.3431194-1-yi.zhang@huaweicloud.com>
Date: Thu, 19 Jan 2023 11:45:58 +0800
From: Zhang Yi <yi.zhang@...weicloud.com>
To: linux-ext4@...r.kernel.org
Cc: tytso@....edu, adilger.kernel@...ger.ca, jack@...e.cz,
yi.zhang@...wei.com, yi.zhang@...weicloud.com, yukuai3@...wei.com
Subject: [RFC PATCH 0/2] ext4, jbd2: journal cycled record transactions
From: Zhang Yi <yi.zhang@...wei.com>
Hello, This patch set introduce a new mount option names
journal_cycle_record, it save journal head for a clean unmounted file
system, let ext4 continue/cycled record new journal transactions after
previous mount or recovered transactions for unclean file system. It
could give us more info when analysing a corrupted file system image
and locate kernel consistency bugs more conveniently.
This is just the kernel part and have already passed throuth xfstests in
auto mode. I will continue the e2fsprogs' part if nobody strong dislike
that. Any comments are welcome.
Thanks,
Yi.
Zhang Yi (2):
jbd2: cycled record log on clean journal logging area
ext4: add journal cycled recording support
fs/ext4/ext4.h | 2 ++
fs/ext4/super.c | 17 +++++++++++++++++
fs/jbd2/journal.c | 18 ++++++++++++++++--
fs/jbd2/recovery.c | 22 +++++++++++++++++-----
include/linux/jbd2.h | 9 +++++++--
5 files changed, 59 insertions(+), 9 deletions(-)
--
2.31.1
Powered by blists - more mailing lists