From: Zhang Yi <yi.zhang@huaweicloud.com>
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,
yukuai3@huawei.com
Subject: [RFC PATCH 0/2] ext4, jbd2: journal cycled record transactions
Date: Thu, 19 Jan 2023 11:45:58 +0800 [thread overview]
Message-ID: <20230119034600.3431194-1-yi.zhang@huaweicloud.com> (raw)
From: Zhang Yi <yi.zhang@huawei.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
next reply other threads:[~2023-01-19 5:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-19 3:45 Zhang Yi [this message]
2023-01-19 3:45 ` [RFC PATCH 1/2] jbd2: cycled record log on clean journal logging area Zhang Yi
2023-01-26 10:14 ` Jan Kara
2023-01-28 6:49 ` Zhang Yi
2023-01-19 3:46 ` [RFC PATCH 2/2] ext4: add journal cycled recording support Zhang Yi
2023-01-30 9:19 ` kernel test robot
2023-02-01 9:29 ` Zhang Yi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230119034600.3431194-1-yi.zhang@huaweicloud.com \
--to=yi.zhang@huaweicloud.com \
--cc=adilger.kernel@dilger.ca \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
--cc=yi.zhang@huawei.com \
--cc=yukuai3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).