[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230314141058.3267404-1-yi.zhang@huaweicloud.com>
Date: Tue, 14 Mar 2023 22:10:54 +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: [PATCH 0/4] e2fsprogs: journal cycled record transactions between each mount
From: Zhang Yi <yi.zhang@...wei.com>
Hello!
This is the e2fsprogs part of the ext4 journal_cycle_record mount
option(corresponding kernel part is at [1]). It add a new parameter to
record the journal head of a clean filesystem, mke2fs initialize it to
the start of journal area, and e2fsck check and fix it if it's bad, and
also update it after recovering journal. Basic functional tests have
been passed.
Thanks,
Yi.
[1] https://lore.kernel.org/linux-ext4/20230314140522.3266591-1-yi.zhang@huaweicloud.com/T/#t
Zhang Yi (4):
lib/ext2fs: record and show journal head block
debugfs/e2fsck: update the journal head block after recovery
debugfs/e2fsck: check bad s_head block number
ext4.5: document the journal_cycle_record mount options
debugfs/journal.c | 10 +++++++++-
e2fsck/journal.c | 15 ++++++++++++++-
e2fsck/recovery.c | 21 +++++++++++++++++----
lib/e2p/ljs.c | 3 +++
lib/ext2fs/kernel-jbd.h | 6 ++++--
lib/ext2fs/mkjournal.c | 1 +
misc/ext4.5.in | 6 ++++++
7 files changed, 54 insertions(+), 8 deletions(-)
--
2.31.1
Powered by blists - more mailing lists